Hi!
In my Junit test I want to delete the data only after the test is finished.
In order to do that I saw I could use the @after annotation in the tearDown method:
@Override @After protected void tearDown() throws Exception { super.tearDown(); ... }
This tag won't work with juint-3.8.1.jar I was using till now, so I replaced it with junit-4.8.2.jar.
But now when I turn on my server I get this error:
java.lang.NoClassDefFoundError: junit/runner/TestSuiteLoader
Any idea somebody?
Devora
JSFUnit doesn't currently work with JUnit 4 because of limitations with Cactus. However, we are working on integration with Arquillian. Then you will be able to write tests using JUnit 4 and TestNG.
Stan