The benefits of Test-Driven Development (TDD) can be appealing to many seeking to reduce the amount of time spent on a software project, but not all projects can implement the TDD methodology fully. A technique similar to TDD -- test-oriented development and debugging -- is implemented as an Eclipse plug-in to support this pragmatic approach so that it can help write high quality software.
ScreenshotsInvoking the 'Generate test(s)' actionYou invoke the context menu on or inside the method you wish to write a test for, and then select JUnit/Generate test(s).
Result of invoking test generationTODD will find the corresponding test class, open it in an editor and generate a test method for you. All you have to do then is fill in a few 'blanks' and run your new test, which you can do by invoking the Debug JUnit test(s) or Run JUnit test(s) actions in the same menu!
These details are provided for information only. No information here is legal advice and should not be used as such.