This content has been marked as final.
Show 1 reply
-
1. Running single JUnit test from IDE
spohl Mar 2, 2004 7:18 AM (in response to adrian.brock)I'm trying to write a new Junit test for JBossMQ (v3.2.3) and I'm having trouble running a single test from an IDE (I'm using IntelliJ Idea on Linux).
My test extends JBossTestCase and when I call super.getInitialContext () it returns, but the context returned is bad. When I try to use it I get NoInitialContext exception.
Clearly I need to specify some system properties to tell the test how to connect to the server. Is there an example I can look at that shows what these properties are? They are not obvious from the build.xml file.
TIA
....richie