junit

OSGi : Junit Test Extender Using Fragment and BundleTracker

I-Introduction : As Service tracker, the Osgi 4.2 release introduced "BundleTracker" which simplifies working with bundles and facilitate building...

0 replies - 1178 views - 10/02/09 by slim.ouertani 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 - 1839 views - 09/29/09 by John Ferguson Smart in Blogs

Detecting Multiple Errors in a Single Test with JUnit

In my previous post, I described some useful features of the latest JUnit, together with the way I'm using it with the test suite of jrawio.Now, it's the turn...

5 replies - 3739 views - 08/29/09 by Fabrizio Giudici in Articles

JUnit: A Little Beyond @Test, @Before, @After

Most people I see using JUnit are limiting themselves to the very basic features, that is, indicating tests with @Test and maybe @Before and @After. Hey, I...

8 replies - 8959 views - 08/26/09 by Fabrizio Giudici in Articles

LiquidTest - Browser Automation Testing Framework Released

During these testing times, you cannot afford to be inefficient. Correcting problems early in the development process is critical when producing quality...

0 replies - 903 views - 02/06/09 by Anthony Scotney in Announcements

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 - 2759 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 - 3741 views - 08/16/08 by mminella in Articles

Swing Extreme Testing

We've spent ten years developing a highly-successful artificial intelligence system used in pathology labs around the world. As a very small team, one of the...

0 replies - 1977 views - 08/09/08 by Tim Lavers in Announcements

Deliver a Good Return of Investment Unit Testing Code

It has always been my belief that comprehensive integration/functional testing of code is far far more important/productive than to blindly try to achieve...

8 replies - 2513 views - 07/21/08 by Khoo Chen Shiang in News

My Unit Tests Are Purer Than Yours

There is a hot debate on my project about whether or not our JUnit tests are pure unit tests. What the heck does that mean, pure unit tests? Our tests are...

9 replies - 3565 views - 07/02/08 by haxrchick in Articles

Using Logs in Unit Tests

Have you found yourself needing to look at log messages from inside a unit test?

7 replies - 3075 views - 04/12/08 by Rob Williams in Articles

Checking Java Programs

Provides step by step instructions to download and install the tools. In most cases shows how to use these tools with Eclipse. "Advice and Summary" boxes at the end of the...

0 replies - 5792 views - 03/04/08 by Meera Subbarao in Book Reviews

Speed up your Unit Tests NOW!!!

Many Java developers know they *should* write and run unit tests, but often stop running, or even writing them, for several reasons. One reason I'm both...

4 replies - 7283 views - 02/29/08 by Jim Bethancourt in Articles

Practical Unit Testing

I was reading Howard's post today on his crisis of faith with respect to unit testing and it launched an interesting conversation with a colleague. I'm a unit...

6 replies - 4683 views - 02/22/08 by Alex Miller in News