Re: Reverse JUnit Execution Order

varban <[email protected]>
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
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-IWHQxnLZ/[email protected]
> http://lists.urbancode.com/mailman/listinfo/anthill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.