• Post Reply Bookmark Topic Watch Topic
  • New Topic

Concurrent JUnit tests  RSS feed

 
Alec Swan
Ranch Hand
Posts: 39
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 37181
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alec,
1) No, it is not built in,
2) What limitations in JUnitPerf and GroboUtils are you trying to avoid?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!