in reply to Code Generation from Test Suites

How about a code generator which generates the code skeleton and the simplest tests?

You start with the project description:

{ class => 'Foo::Bar', methods => [ 'x', 'y', 'z' ], }

From this simple description you can generate:

Now you don't even have to write the tests!