This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 581

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: 7246

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Testing Multithreaded Code
It's not a secret anymore!