[Anthill] Reverse JUnit Execution Order

varban vvv at urbancode.com
Wed Dec 7 14:10:12 CST 2005


Hi,

if you mean that you have few tests in your class and you cannot control 
the order of execution, why don't you create a single test that will 
call all those smaller tests in the correct order?
Or maybe I am missing something?

Varban

brunomau (sent by Nabble.com) wrote:
> Hi there, everybody. I'm experiencing a weird problem while running a 
> JUnit test class in Anthill. When I run the test class in my local IDE 
> it runs perfectly, in the proper order. But when Build.xml calls for it, 
> it is executed in the exactly opposite order. And I cannot create a test 
> case that is order independant because I must leave the database as just 
> as it was before the test methods. Someone please help me. If the text 
> is too confuse, I would gladly explain in more details.
> ------------------------------------------------------------------------
> Sent from the Anthill - General 
> <http://www.nabble.com/Anthill---General-f2366.html> forum at Nabble.com:
> Reverse JUnit Execution Order 
> <http://www.nabble.com/Reverse-JUnit-Execution-Order-t689186.html#a1819741>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill



More information about the Anthill mailing list