Why We Refactored JUnit
Bill Venners writes "In this article, three programmers tell the story of how their frustration with JUnit's API led to the creation of Artima SuiteRunner, a free, open source test toolkit and JUnit runner. These programmers simply wanted to create a small add-on tool to JUnit, but found JUnit's design non-intuitive and API documention poor. After spending time reading through JUnit's source code and attempting to guess at the API contracts, they gave up and rewrote it."
"After spending time reading through JUnit's source code and attempting to guess at the API contracts, they gave up and rewrote it."
Now if someone would just do that for Windows we'd be in business...
Funny how the insightful comment was moderated down.
public class TheUltimateUnitTestingFramework {
public static void assert(boolean b) throws Exception {
if(!b)
throw new Exception("assertion failed");
}
}
I give it to you for free.
Documentation isn't done yet, but I'm planning to spend the next year developing it.