NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

maven single tests fail after 1st run

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
gaellafond
Posted via mailing list.





PostPosted: Wed Feb 16, 2011 2:08 am    Post subject: maven single tests fail after 1st run Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo