Hi James,

Here is my JUnit test, stripped down to the bare essentials:

public class WorkflowTest extends TestCase {
        public WorkflowTest(String s) {
                super(s);
        }
        protected void setUp() {
        }
        protected void tearDown() {
        }
        public void testTest() throws Exception {
                TestWorkflow workflow = new TestWorkflow();
                workflow.start();
                Thread.sleep(2000);
                assertEquals(3, workflow.count);
        }

        public static Test suite() {
                TestSuite suite = new TestSuite();
                suite.addTest(new WorkflowTest("testTest"));
                return suite;
        }
}

I forgot to mention, I am using servicemix SVN trunk!  Thanks for your help.

Regards

Andreas
-- 
View this message in context: 
http://www.nabble.com/Problem-with-Beanflow-tf1996591.html#a5480649
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to