aspose file tools*
The moose likes Testing and the fly likes Concurrent JUnit tests Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Concurrent JUnit tests" Watch "Concurrent JUnit tests" New topic
Author

Concurrent JUnit tests

Alec Swan
Ranch Hand

Joined: Feb 03, 2005
Posts: 39

I have a JUnit test case, which I need to run concurrently multiple times and verify some post-conditions once all concurrent test cases are completed. Note that each test case instance must make a setUp() and tearDown() calls. In other words I do not want to spawn threads in the test method itself.

1. Does JUnit 3.x have this functionality built in?
2. Are there third-party libraries besides JUnitPerf and Groboutils which can do this?

Thanks.

Alec
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30294
    
150

Alec,
1) No, it is not built in,
2) What limitations in JUnitPerf and GroboUtils are you trying to avoid?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Concurrent JUnit tests