Bugs item #1441961, was opened at 2006-03-02 11:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1441961&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: JUnit integration
Group: Would be nice if fixed ...
Status: Open
Resolution: None
Priority: 5
Submitted By: Eric Cheng (ericcheng)
Assigned to: Nobody/Anonymous (nobody)
Summary: JUnit testing on a class without test cases
Initial Comment:
If a class extends junit.TestCase, DrJava always assumes
that the class contains test methods. If it does not
find any test method in the class, DrJava gives an error
upon running the tests.
This assumption may not always be appropriate because
it is sometimes useful to subclass TestCase and base
all other actual test cases on the subclass, instead
of subclassing directly from TestCase.
Although the problem can be worked around by making
the class without test methods abstract, it would still
be nice not to fail in the case where a concrete
subclass of TestCase does not have any test methods.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1441961&group_id=44253
|