Carving differential unit test cases from system test cases
Authors:
Open Access
- 5 November 2006
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 253-264
Abstract
Unit test cases are focused and efficient. System tests are effective at exercising complex usage patterns. Differential unit tests (DUT) are a hybrid of unit and system tests. They are generated by carving the system components, while executing a system test case, that in- fluence the behavior of the target unit, and then re-assembling those components so that the unit can be exercised as it was by the sys- tem test. We conjecture that DUTs retain some of the advantages of unit tests, can be automatically and inexpensively generated, and have the potential for revealing faults related to intricate system ex- ecutions. In this paper we present a framework for automatically carving and replaying DUTs that accounts for a wide-variety of strategies, we implement an instance of the framework with sev- eral techniques to mitigate test cost and enhance flexibility, and we empirically assess the efficacy of carving and replaying DUTs.Keywords
This publication has 20 references indexed in Scilit:
- Tool-assisted unit-test generation and selection based on operational abstractionsAutomated Software Engineering, 2006
- Supporting Controlled Experimentation with Testing Techniques: An Infrastructure and its Potential ImpactEmpirical Software Engineering, 2005
- Assessing and improving state-based class testing: a series of experimentsIEEE Transactions on Software Engineering, 2004
- On test suite composition and cost-effective regression testingACM Transactions on Software Engineering and Methodology, 2004
- JCrasher: an automatic robustness tester for JavaSoftware: Practice and Experience, 2004
- Pruning Interference and Ready Dependence for Slicing Concurrent Java Programs2004
- Regression testing in an industrial environmentCommunications of the ACM, 1998
- Semantics guided regression test cost reductionIEEE Transactions on Software Engineering, 1997
- Analyzing regression test selection techniquesIEEE Transactions on Software Engineering, 1996
- On Testing Non-Testable ProgramsThe Computer Journal, 1982