This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 158091 - Run single test method
Summary: Run single test method
Status: RESOLVED DUPLICATE of bug 72080
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 15:55 UTC by sgtgarcia
Modified: 2009-03-12 14:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sgtgarcia 2009-02-06 15:55:22 UTC
In a Maven project, when a JUnit test class a big number of test methods, you can't run a single method of the test
class, you have to systematically run them all.

The only workaround is to comment/add @Ignore to all except one then run test case.

In Eclipse, you can right click on a test method and run it.

This may require to not run JUnit test through Maven...
Comment 1 Alexei Mokeev 2009-03-05 13:50:09 UTC
Assigning issues from Michael to Andrey.
Comment 2 Alexei Mokeev 2009-03-12 14:52:08 UTC
Please refer to 72080 for all the information.

*** This issue has been marked as a duplicate of 72080 ***