DocumentCode :
243569
Title :
Automated Generation of Integration Test Sequences from Logical Contracts
Author :
Dianxiang Xu ; Weifeng Xu ; Manghui Tu
Author_Institution :
Dept. of Comput. Sci., Boise State Univ., Boise, ID, USA
fYear :
2014
fDate :
21-25 July 2014
Firstpage :
632
Lastpage :
637
Abstract :
This paper exploits logical contracts (i.e., Preconditions and post conditions) to automatically generate integration tests. The approach transforms a contract-based test model into an operational model, which makes it feasible to analyze correctness of the test model and generate integration tests to meet coverage criteria of the test model. This approach has been implemented in MISTA, a tool for automated generation of executable tests. MISTA allows executable test code to be generated in a rich variety of programming languages (e.g., Java, C, C++, C#, and PHP) and test execution environments. We have evaluated the fault-detection capability of contract-based test models through fault injection. The results show that contract-based tests can be highly effective in fault detection and that robustness tests targeting the situations of broken contracts are critical to finding faults related to component interactions.
Keywords :
fault diagnosis; program testing; programming languages; MISTA; Model-based Integration and System Test Automation; automated integration test sequences generation; contract-based test model; executable test code; fault injection; fault-detection capability; logical contracts; operational model; programming languages; Contracts; Firing; Inhibitors; Robustness; Semantics; Software; Testing; Contracts; Petri nets; integration testing; software testing; test coverage;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Software and Applications Conference Workshops (COMPSACW), 2014 IEEE 38th International
Conference_Location :
Vasteras
Type :
conf
DOI :
10.1109/COMPSACW.2014.106
Filename :
6903202
Link To Document :
بازگشت