Jared's Weblog

Main Page - Books - Links - Resources - About - Contact Me - RSS


Jared Richardson Most Popular
Help! I've Inherited Legacy Code
Testing Untestable Code
Continuous Integration... Why Bother?
Mock Client Testing
The Art of Work
Technical Idiot Savants
Targetted Skills Aquition vs Free Range Chickens
The Habits of Highly Effective Developers



Blog Archive
2005-December
2005-November
2005-October
2005-September
2005-August
2005-July
2005-June

Sun, 24 Jul 2005

JUnit is not a Unit Testing framework

Okay, after that inflammatory comment got your attention... :) JUnit is a ~testing~ framework. There is nothing in the framework that limits it's use to only unit testing. Given the name of JUnit, NUnit, MBUnit, and others, perhaps unit testing was the original motivation, but don't limit your use of a great tool.

If you're not using an XUnit testing framework for functional, acceptance and integration tests, you've been missing out on great uses for your favorite testing framework. Get all the benefits that you've come to expect from unit tests with your "mainstream" testing. Things like repeatable results, automatic test runs and known product state should be standard operating procedure in your shop... Are they?



posted at: 23:19 | path: | permanent link to this entry