ConcJUnit: Unit Testing for Concurrent Programs
Source: Association for Computing Machinery
In test-driven development, tests are written for each program unit before the code is written, ensuring that the code has a comprehensive unit testing harness. Unfortunately, unit testing is much less effective for concurrent programs than for conventional sequential programs, partly because extant unit testing frameworks provide little help in addressing the challenges of testing concurrent code. In this paper, the authors present ConcJUnit, an extension of the popular unit testing framework JUnit that simplifies the task of writing tests for concurrent programs by handling uncaught exceptions and failed assertions in all threads, and by detecting child threads that were not forced to terminate before the main thread ends.
| Format: | Size: | 913.10 | |
| Date: | Aug 2009 |
People who downloaded this item also downloaded
- Abusing JBoss
- The Building Blocks for Private Cloud: Automation, Virtualization, and Cloud Service Management
- Using the Java Gateway
- Java Concurrency Guidelines
- Java Memory Model Aware Software Validation



