1 Reply Latest reply on Mar 10, 2004 3:45 AM by adrian.brock

    Running single JUnit test from IDE

    richieb

      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