Unit Testing

Mind Mapping Unit Tests

In an earlier article I suggested that a good way of measuring project progress is to count the number of passing tests and compare these to the estimated...

0 replies - 2792 views - 09/29/09 by rperfect in Articles

Testing Exceptions in JUnit 4.7

JUnit 4.7 introduced a few features that make it a little easier to work with exceptions. JUnit 4 introduced the expected parameter, which makes a test...

0 replies - 1920 views - 09/29/09 by John Ferguson Smart in Blogs

Building Better Burn-Down Charts

As a developer you have just finished your latest bit of code and have released it to the test team. It took a little longer than you thought it would but...

0 replies - 4454 views - 09/22/09 by rperfect in Articles

Software Testing Categorization

You hear people talking about small/medium/large/unit/integration/functional/scenario tests but do most of us really know what is meant by that? Here is how I...

0 replies - 2287 views - 07/18/09 by mhevery in News

New API for Mycila Testing Framework

 Mycila Testing Framework aims at being a community framework where anyone could contribute their plugins to make unit testing easier. Basically, when you...

0 replies - 394 views - 05/11/09 by Mathieu Carbou in Announcements

Configure your IDE to run your tests automatically

 When I develop code I write test first and always run my tests. But it can get rather tedious to run the tests manually every so often. Here is a...

5 replies - 5101 views - 05/08/09 by mhevery in Videos

Creating Objects in Java Unit Tests

Most Java unit tests consist of a Class Under Test (CUT), and possibly dependencies or collaborators. The CUT, dependencies and collaborators need to be...

0 replies - 5296 views - 01/13/09 by Jay Fields in Articles

Jailer 2.7.0: Test Data Extraction Tool

Release 2.7.0 supports the DbUnit flat XML dataset file format.Jailer is a tool for test-data extraction, schema browsing, and rendering. It exports consistent...

0 replies - 1607 views - 01/05/09 by Wisser in Announcements

Register for the Java Power Tools Bootcamps 2009 Season!

Organisations may well be slashing IT training budgets this year, but one New Zealand training company is offering a course that many might still find...

5 replies - 1718 views - 01/02/09 by John Ferguson Smart in Announcements

A Simple Manual Mock Example

Creating and using a mock object is semantically very much like using a stub, except that a mock will do a little more than a stub - it will save the history...

0 replies - 4590 views - 10/13/08 by Schalk Neethling in News

TDD Like You've Never Seen it Before

Test-driven development is a popular (but not yet mainstream) practice for developing software in fully-working increments of functionality. Advocates claim it...

0 replies - 2786 views - 09/03/08 by jdegoes in Announcements

The Concept of Mocking

To someone who is new to unit testing, the idea of mock objects can be confusing to say the least.  I have covered in previous tutorials how to use various...

0 replies - 3778 views - 08/16/08 by mminella in Articles

Leveraging Unit Tests As Functional Tests, Load Tests, and Service Monitors

Frank Cohen will demonstrate the new PushToTest TestMaker Version 5 open- source end-to-end service governance and test automation tool. Software developers...

0 replies - 5792 views - 07/21/08 by Schalk Neethling in News

Aspect for Autopopulating Entities While Testing

Was watching one of the guys on our team the other day testing a wizard. In order to see what was going on on the third page, each time he ran the app, he had...

1 replies - 1465 views - 07/17/08 by Rob Williams in Articles

Your Unit Tests Should Mind Their Own Business

As the unit testing debates continue on my project, I can't help but noticing that people are spending all sorts of time pontificating over the right way to...

4 replies - 4479 views - 07/16/08 by haxrchick in Articles