Feature Requests item #1228420, was opened at 2005-06-27 12:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438938&aid=1228420&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Dan Smith (dlsmith)
Assigned to: Nobody/Anonymous (nobody)
Summary: Integrate testing with debugger
Initial Comment:
I would like to debug a specific test method. In order to do so, I
must do the following in the interactions pane after setting up the
appropriate breakpoints (to be completely correct, there might be
other methods that should be invoked):
MyTestClass t = new MyTestClass();
t.setUp();
t.testSomething();
If I need to do it again, I have to repeat those 3 statements. Since
bugs are often exposed by tests, a more elegent solution is
desireable.
EASY SOLUTION: Allow debugging and testing to happen
concurrently, permitting the user to "Test Current File" and hit the
breakpoint.
ELEGENT SOLUTION: When the user right-clicks in a test method
body, have a "Debug test method" option. A breakpoint is
automatically created at the first line of the method. (Of course, in
order to do this, the editor needs to have a symbolic understanding
of the text, similar to that required for code completion.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438938&aid=1228420&group_id=44253
|