Hi,

I have a problem with the junit (3.8.1) tests in a mvane project. While each 
unit test is successfull when I start it within eclipse, maven fails, when 
executing the tests.

I figured out, that the test methods of my junit test are executed parallel. 
This is bad, since the class under test is singleton. So in every test method, 
the same instance is used. This has side effects in each test method, what 
leads into a failure.

Is this a known problem? is there a simple way to force s sequential execution 
of the unit tests? (I use junit 3.8.1, so I can not use anotations like 
@Depends)

best regards

-- 
GMX DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit 
gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to