Menu

#137 Infer Tests From Documents

open
nobody
Other (46)
5
2003-02-09
2003-02-09
No

Story:

A user is editing a class named e.g. "MyClass". After making a change to the file, he wishes to verify his code with a pre-existing JUnit test case, which is not currently open for editing. When he hits the "Test" button on the toolbar, DrJava searches the classpath for a class named "MyClassTest" and executes it using the built-in JUnit support, displaying progress and results in the JUnit tab.

Note: Ideally the inference algorithm would properly locate test cases which are inner classes of the current class, if any exist, and also run them as tests. This might require batching the test cases a la the "Test All" command mentioned in a previous feature request. Like that request, this one was suggested by Dr. Cartwright.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.