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

5 of 192 comments (clear)

  1. I wish... by Anonymous Coward · · Score: 5, Funny

    I could refactor my unit.

    1. Re:I wish... by Forgotten · · Score: 5, Funny

      You could, if you'd just read your spam before deleting it.

  2. hrm.... by xao+gypsie · · Score: 5, Funny

    why does this sound like something of the beginning of a fantasy story about programming: "in the beginning was Iluvitar, the master of the JU API........then melkor, wishing to expand it...."

    xao

    --


    xao
    http://TheHillforum.hopto.org
  3. Re: Intuitive by Black+Parrot · · Score: 5, Funny


    > Recursion is intuitive but...

    You've obviously never tried to explain recursion to a group of average co-workers.

    --
    Sheesh, evil *and* a jerk. -- Jade
  4. Re:genericity in testing by thempstead · · Score: 5, Funny
    Then you correct the code so the test passes.

    nonono ... you correct the test so the code passes ...