The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Testing Multithreaded Code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Testing Multithreaded Code" Watch "Testing Multithreaded Code" New topic

Testing Multithreaded Code

Sean Keane
Ranch Hand

Joined: Nov 03, 2010
Posts: 582

I came across this resource for testing multi-threaded code. Do people have any similiar resources or techniques they used to test their multithreaded code?

Here is another resource for outlines a solution for writing multi-threaded tests. One of the problems you can experience with multi-threaded unit tests was outlined in a recent thread here

SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
Roel De Nijs

Joined: Jul 19, 2004
Posts: 8371

I didn't used JUnit tests, but simple java applications. not really a technique, but it worked too

SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
I agree. Here's the link:
subject: Testing Multithreaded Code
It's not a secret anymore!