Unit testing. Was: Enhancement request



On Sep 5, 4:34 am, Tom Anderson <t...@xxxxxxxxxxxxxxx> wrote:
http://junit.sourceforge.net/

The way to organize unit testing is subject to debate. This section
http://en.wikipedia.org/wiki/Unit_testing#Documentation
however, caught my attention. Now, suppose a developer came across
unfamiliar class/method with sophisticated functionality and want to
run the test in order to see how it works. Would it be easier to start
looking for unit tests that cover it, or just fire up the main method
that is sitting right there in the class itself?
.