1 Reply Latest reply on Jul 29, 2010 11:00 AM by Stan Silvert

    JSF unit with juit 4

    devora Mar.... Newbie



      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:



      protected void tearDown() throws Exception {


      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?