Multiple Threads for Junit Classes
- From: "sakcee@xxxxxxxxx" <sakcee@xxxxxxxxx>
- Date: 28 Apr 2007 07:35:29 -0700
I was wondering if any one has experience in which multiple Junit
classeshas to be run concurrently and not in a sequential way(or
whichever way Junit runs). As I understand Junit just scans/gatters
all the files for testcases and run then one by one , it also
introduces its @Before, @After etc tags which do not work as normal
class or object hierarchies e.g. I am not sure but it seems like
events that are triggered instead of object creations.
Now I want to run different threads of junit classes in same JVM. is
there a way? Right now I am using a JUnitCore object and running each
class with it. and making one thread run one JunitCore. is this
correct?
any help is greatly appreciated , as I have read some junit books and
this information is available nowhere. also the structure of JUnit is
also not clear.
thanks
.
- Follow-Ups:
- Re: Multiple Threads for Junit Classes
- From: Arne Vajhøj
- Re: Multiple Threads for Junit Classes
- Prev by Date: Re: Thread pool to control start or threads
- Next by Date: Re: generics "erasure" doubt
- Previous by thread: problem running a struts exercise
- Next by thread: Re: Multiple Threads for Junit Classes
- Index(es):
Relevant Pages
|
|