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 single test executes through Ant | ||
---|---|---|---|
Product: | projects | Reporter: | dpospisi |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 204907 | ||
Bug Blocks: |
Description
dpospisi
2011-09-29 17:37:01 UTC
When Compile on Save is enabled for unit tests, which is the default (see Compile panel of project properties), the IDE uses an unspecified mechanism (currently Ant's <junit>) to run tests directly from the class cache produced by the background compiler. If you have specialized Surefire configuration which requires a full Maven lifecycle to be launched, just disable CoS. Works great. Many thanks Jesse! |