NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
_Dennis_
Joined: 10 Mar 2011 Posts: 2
|
Posted: Thu Mar 10, 2011 8:55 am Post subject: NB + Maven + Embedded Glassfish Plugin + JUnit |
|
|
Hello everybody,
i'm using the embedded glassfish 3.1 with JUnit4 for testing. The embedded glassfish should be started by the maven-embedded-glassfish-plugin as described here.
How does Netbeans 6.9.1 run the Unittest if I'm opening a Testclass and running the test by clicking CTRL+F6? Does NB respect the Maven Lifecycle?
Reason: I'm trying to test with NB but the testclass can't lookup jndi ressources, because the embedded glassfish has not been started.
Best regards
Dennis |
|
| Back to top |
|
 |
_Dennis_
Joined: 10 Mar 2011 Posts: 2
|
Posted: Thu Mar 10, 2011 9:27 am Post subject: |
|
|
| After some testing, I expect that NB runs and then runs the JunitTest without maven. Can anybody confirm that? |
|
| 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
|
|