When you see JUnit38ClassRunner in the stack, that means that JUnit has
determined that your test class is an old junit 3.8 style test class. It
does this by testing whether or not your class inherits from TestCase. So,
if you remove "extends TestCase" from your classes' declaration, it will run
it under JUnit 4 instead, and it will then execute the methods annotated
with @BeforeClass and @AfterClass properly.

Hope that helps, 

Edwin



Abdul Khaliq Gaffar wrote:
> 
> Hi ,
> 
> Appfuse junit test cases when run within eclipse are failing .Is there
> anyway in which I can make these test case within the eclipse editor
> 
> 
> 
> Abdul Khaliq Gaffar
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Junit-Test-Cases-failing-within-eclipse.-tp15661810s2369p18459572.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to