NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
gaellafond Posted via mailing list.
|
Posted: Wed Feb 16, 2011 2:08 am Post subject: maven single tests fail after 1st run |
|
|
Hello King Lung Chiu,
I know that this post is fairly old, but this problem is still present in NB
6.9 and it's affecting me.
I found a solution here:
http://forums.netbeans.org/viewtopic.php?t=21044
[...]
It looks like this is a "Compile on save" problem. I've changed this option
in project properties->build->compile to "For application execution only"
and it works.
[...]
I don't like this solution since it disable the GUI that show which test as
fail and which as pass. It just show the text output from maven.
An other solution that I have found is to use the 'Debug Test File' instead
of 'Test File'. For some reason, that one always works. Even more weird, if
I copy all directives from 'Debug Test File' and copy them to 'Test File',
the 'Test File' continue to fail after the first run. It seems to ignore
everything after the first run.
Please, tell me if you found a better solution.
Thanks
--
View this message in context: http://netbeans-org.1045718.n5.nabble.com/maven-single-tests-fail-after-1st-run-tp2955778p3387016.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com. |
|
| 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
|
|