IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Java technology  >  

ConcurrentTesting - Advanced Testing for Multi-Threaded Applications

A tool for testing, debugging, and coverage-measuring of concurrent programs.


Date Posted: May 12, 2005
Overview Requirements DownloadFAQsForum Reviews

1. Is ConTest for developers or for testers?
2. Does ConTest create tests?
3. How does ConTest know that an error was detected in the test?
4. How can I know that my tests are good enough?
5. What must I do in order to run my tests with ConTest?
6. Is ConTest useful for distributed applications as well?


1. Is ConTest for developers or for testers?

Both. ConTest can bring a great deal of value for developers at unit testing, as well as for testers in function and system testing.
Back to top Back to top

2. Does ConTest create tests?

No. ConTest works with your existing tests. To use ConTest effectively for testing, you need to have tests that run several threads concurrently. ConTest greatly increases the probability that these tests will reveal the concurrent bugs that exist, such as deadlocks or race conditions. Furthermore, you'll benefit from running the same tests many times, since each time something different will happen.
Back to top Back to top

3. How does ConTest know that an error was detected in the test?

It doesn't. Since you wrote the test, you should know what behavior of the test is considered an error. ConTest's debugging support can give you additional run-time information, which can help you judge whether it is indeed a bug and where it is located.
Back to top Back to top

4. How can I know that my tests are good enough?

ConTest coverage support (code coverage and synchronization coverage) can help you determine whether your tests are sufficient and where you need to strengthen them.
Back to top Back to top

5. What must I do in order to run my tests with ConTest?

You'll need to specify target classes in the ConTest preference file (and, optionally, other preferences), add a flag to the JVM command that runs your tests, and then just run your tests as before.
Back to top Back to top

6. Is ConTest useful for distributed applications as well?

Yes, because it causes different interleaving scenarios on distributed applications, too. ConTest also includes a special component for UDP (datagram) communication, which gives additional power in testing for whether the program correctly handles communication problems.
Back to top Back to top
Download now Download now

Related technologies

For platform(s):
Java

For topics:
debugging, Eclipse, Java technology, Parallel computing, performance, System administration, testing, utilities


 

    About IBM Privacy Contact