ConcJUnit: Unit testing for concurrent programs
Saved in:
| Title: | ConcJUnit: Unit testing for concurrent programs |
|---|---|
| Authors: | Mathias Ricken, Robert Cartwright |
| Contributors: | The Pennsylvania State University CiteSeerX Archives |
| Source: | http://www.cs.rice.edu/~mgricken/research/concutest/download/PPPJ2009-Ricken-ConcJUnit.pdf. |
| Publication Year: | 2009 |
| Collection: | CiteSeerX |
| Subject Terms: | Categories and Subject Descriptors D.1.3 [Programming Techniques, Concurrent Programming, D.2.5 [Software Engineering, Testing and Debugging – abstract data types, polymorphism, control structures. General Terms Reliability, Languages. Keywords Java, JUnit, unit testing |
| Description: | 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, we 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. |
| Document Type: | text |
| File Description: | application/pdf |
| Language: | English |
| Relation: | http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.610.3085 |
| Availability: | http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.610.3085 http://www.cs.rice.edu/~mgricken/research/concutest/download/PPPJ2009-Ricken-ConcJUnit.pdf |
| Rights: | Metadata may be used without restrictions as long as the oai identifier remains attached to it. |
| Accession Number: | edsbas.655A3BBC |
| Database: | BASE |
| Abstract: | 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, we 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. |
|---|
Nájsť tento článok vo Web of Science