DONE First, for each failing test, try to drop the global @RepositoryConfig(cleanup = Granularity.CLASS) if any (which otherwise keeps state between methods and may make such additional unwanted state to break tests, such as when update...() is called before ...simple...() in EndpointStateServiceTest).
TODO This good practice of true unitarian tests should further be done on as many tests as possible,
DONE and documented on abstract test helpers.
Else if it tests consecutive steps of a whole (such as WSDLParsingTest) :
WORKAROUND DONE write a test method that call all original test methods in the right order and remove their @Test annotations.
Junit tests where test methods must be executed in the defined manner (such as WSDLParsingTest) fail in a non deterministic manner on jdk7.
Cause : Class.getDeclaredMethods() returns random ordered results since jdk7 : http://sourceforge.net/p/jumble/bugs/10/
Solution :
Else if it tests consecutive steps of a whole (such as WSDLParsingTest) :