Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Tool Support for Testing Concurrent Java Components

Published: 01 June 2003 Publication History

Abstract

Concurrent programs are hard to test due to the inherent nondeterminism. This paper presents a method and tool support for testing concurrent Java components. Tool support is offered through ConAn (Concurrency Analyser), a tool for generating drivers for unit testing Java classes that are used in a multithreaded context. To obtain adequate controllability over the interactions between Java threads, the generated driver contains threads that are synchronized by a clock. The driver automatically executes the calls in the test sequence in the prescribed order and compares the outputs against the expected outputs specified in the test sequence. The method and tool are illustrated in detail on an asymmetric producer-consumer monitor. Their application to testing over 20 concurrent components, a number of which are sourced from industry and were found to contain faults, is presented and discussed.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image IEEE Transactions on Software Engineering
IEEE Transactions on Software Engineering  Volume 29, Issue 6
June 2003
95 pages

Publisher

IEEE Press

Publication History

Published: 01 June 2003

Author Tags

  1. Component testing
  2. concurrency
  3. tool support.
  4. unit testing

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 24 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2015)Concurrent software testing in practice: a catalog of toolsProceedings of the 6th International Workshop on Automating Test Case Design, Selection and Evaluation10.1145/2804322.2804328(31-40)Online publication date: 30-Aug-2015
  • (2015)Charting the API minefield using software telemetry dataEmpirical Software Engineering10.1007/s10664-014-9343-720:6(1785-1830)Online publication date: 1-Dec-2015
  • (2013)CONCURRITACM SIGPLAN Notices10.1145/2499370.246216248:6(153-164)Online publication date: 16-Jun-2013
  • (2013)CONCURRITProceedings of the 34th ACM SIGPLAN Conference on Programming Language Design and Implementation10.1145/2491956.2462162(153-164)Online publication date: 16-Jun-2013
  • (2013)EnforceMOP: a runtime property enforcement system for multithreaded programsProceedings of the 2013 International Symposium on Software Testing and Analysis10.1145/2483760.2483766(156-166)Online publication date: 15-Jul-2013
  • (2013)BitaProceedings of the 28th IEEE/ACM International Conference on Automated Software Engineering10.1109/ASE.2013.6693072(114-124)Online publication date: 11-Nov-2013
  • (2012)CONCURRITProceedings of the 4th USENIX conference on Hot Topics in Parallelism10.5555/2342788.2342804(16-16)Online publication date: 7-Jun-2012
  • (2011)Improved multithreaded unit testingProceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering10.1145/2025113.2025145(223-233)Online publication date: 5-Sep-2011
  • (2011)The reliability estimation, prediction and measuring of component-based softwareJournal of Systems and Software10.1016/j.jss.2011.01.04884:6(1054-1070)Online publication date: 1-Jun-2011
  • (2010)A class library for implementing, testing, and debugging concurrent programsInternational Journal on Software Tools for Technology Transfer (STTT)10.5555/3220893.322107012:1(69-88)Online publication date: 1-Feb-2010
  • Show More Cited By

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media