Re: Reverse JUnit Execution Order
"brunomau (sent by Nabble.com)" <[email protected]>
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
Thanks Varban. I'd already figured that out in a quite simple way, just like you said. By creating a method with all the tests in the proper order. The method is this one public static Test suite(){
TestSuite testSuite = new TestSuite();
testSuite.addTest(new YourClassTest("testMethodName1"));
testSuite.addTest(new YourClassTest("testMethodName2"));
testSuite.addTest(new YourClassTest("testMethodName3"));
}
this method is executed as a JUnit Test Case and not as a Java aplication. The problem was that the anthill server is set on a linux machine, consequently, in a linux jvm which was executing them in the "wrong" order. I hope everybody understands... I'm brazilian and not quite familiar with technical english... ;-)
--
Sent from the Anthill - General forum at Nabble.com:
http://www.nabble.com/Reverse-JUnit-Execution-Order-t689186.html#a1843677
_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill