Hi,
 
I have some JUnit tests.
Now I want to test with multithreaded environment. For this, I use the ActiveTestSuite extension.
But I have some problem.
 
For exemple :
try{
    my_method();
}
catch(MyException me){
    System.out.println(me.getMessage());
    fail(me.getMessage());
}
 
I make a test in order my test failed. Sometimes, my test fails but sometimes it works .... But, I always have the message (in the catch section) printed to the console.
 
Can someone explain me why ?
Is fail not recommanded with ActiveTestSuite ?
 
Thanks,
 
ametzger@steleus.com