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.
Summary: | Maven project cannot handle junit test suites | ||
---|---|---|---|
Product: | projects | Reporter: | pribyl <pribyl> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Test results |
Description
pribyl
2009-08-28 09:49:26 UTC
Created attachment 86773 [details]
Test results
1. not a bug. Since 6.7 running tests is done via "Test file" not "run file". Test file works on suites. 2. doesn't sound like a bug to me either. The "Test" execution is done via Maven's surefire plugin. I assume you need to configure it what to run, otherwise it runs everything, including suites. see http://maven.apache.org/plugins/maven-surefire-plugin (currently down for me) please reopen if I have missed something obvious in 2. ad1- Yes, I agree. I realized that 'Test File' works, but too late :) This is OK ad2- I see. I was just used to test Java applications (not using Maven), where the suite file was automatically ignored during testing of the whole project. So I was not expecting that I have to modify something manually. And the result really surprised me :) But OK, I agree this is not a bug either. Thanks for explaining |