« Return to Thread: Running a single jUnit test in a maven project doesn't use maven surefire in 6.7

Running a single jUnit test in a maven project doesn't use maven surefire in 6.7

by Edward Samson-2 :: Rate this Message:

Reply to Author | View in Thread

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,

--
Edward Samson

 « Return to Thread: Running a single jUnit test in a maven project doesn't use maven surefire in 6.7