Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Junit Tests with depedencies - possible to determine order

Junit Tests with depedencies - possible to determine order

2005-06-14       - By Keith Hatton
Reply:     1     2     3  

I've found the GSBase extension for Junit (www.gargoylesoftware.com)
useful for doing this sort of thing. It's simply a matter of returning a
different implementation from the static suite() method in your test
case class.

I'm not aware of anything in Ant that does this specifically, though.

Hope this helps
Keith


-----Original Message-----
From: Mikael Petterson (KI/EAB) [mailto:mikael.petterson@(protected)]
Sent: 14 June 2005 09:31
To: user@(protected)
Subject: Junit Tests with depedencies - possible to determine order


Hi,

we have a couple of junit tests that have 'oder' dependecy like, first
CreateHwTest must be executed and then RecoverHwTest. Is it possible to
set the order which the junit tests must be executed in?

cheers,

//mikael

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.