This post originated from an RSS feed registered with Agile Buzz
by Jared Richardson.
Original Post: JUnit is not a Unit Testing framework
Feed Title: Jared's Weblog
Feed URL: http://www.jaredrichardson.net/blog/index.rss
Feed Description: Jared's weblog.
The web site was created after the launch of the book "Ship It!" and discusses issues from Continuous Integration to web hosting providers.
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?