Slashdot Mirror


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."

3 of 192 comments (clear)

  1. If only... by Dougthebug · · Score: 0, Offtopic

    "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...

  2. Re:Isn't it obvious? by obsidian+head · · Score: 0, Offtopic

    Funny how the insightful comment was moderated down.

  3. I rewrote it too: by CoderByBirth · · Score: 0, Offtopic

    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.