TestDox release 0.1

TestDox creates simple documentation from the method names in JUnit test cases. You can load it using webstart from here

For Example, a test class like:

public class FooTest extends TestCase {
public void testIsASingleton() {}
public void testAReallyLongNameIsAGoodThing() {}
}

would generate the following :

Foo
- is a singleton
- a really long name is a good thing

It is a really good way of seeing the tests in overview — and of course in Agile programming, the tests are the specification.

I’ve found it really useful for seeing where your tests are weak, or poorly thought out. Its much more readable than JavaDocs and normal camel case method names.

3 Responses to “TestDox release 0.1”

  1. Josh Knowles Says:

    Cool idea, do you have plans to integrate it with ANT? Perhaps having the output returned as XML so that you could apply a XSLT similar to how JUnitReport works.

  2. James Strachan Says:

    Ain’t it time for a Maven plugin; then all Maven projects could use TestDox as a stanard report?

  3. Alex Says:

    Very simple and great tool to focus developers on behaviour!

Leave a Reply