NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mkleint Posted via mailing list.
|
Posted: Fri Jul 03, 2009 11:45 am Post subject: Running a single jUnit test in a maven project doesn't use maven surefire in 6.7 |
|
|
I'm currently working on fixing these 2 bugs associated with CoS and
surefire configs. Hopefully it makes it into the patch release.
http://www.netbeans.org/issues/show_bug.cgi?id=168036
http://www.netbeans.org/issues/show_bug.cgi?id=168041
you can workaround the problem by disabling Compile on Save in the
project properties dialog. Then you should have the same behaviour as in 6.5
Milos
Edward Samson wrote:
| Quote: | Hi,
When I run/debug a jUnit test class in my maven project, NetBeans 6.7
doesn't use the surefire plugin to run the tests. Unit tests that rely
on some configuration in surefire are now failing.
In my specific case, surefire is configured to set some
developer-specific environment settings like where the native
libraries are installed.
This used to work as expected in NetBeans 6.5. Is there a way to tell
NetBeans 6.7 to use maven to run the jUnit tests instead of its own
test runner?
Thanks,
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|