Thesis
Automated Test Generation for temporal specifications
Washington State University
Master of Science (MS), Washington State University
2017
Handle:
https://hdl.handle.net/2376/103240
Abstract
Büchi automaton has been widely used in the specification and formal verification of linear temporal properties for reactive systems. Previously property-coverage testing has been developed to address the challenge of specification-based testing with linear temporal properties. The core of property-coverage testing is a set of property-coverage metrics that formally measure test coverage on the syntactical and semantic structure of linear temporal properties. In this work we show that these metrics may also be used to derive test cases efficiently. We present Property Coverage Tester (PCT), an integrated and automated test case generation tool for specification-based testing with linear temporal properties. PCT seamlessly integrates test generation algorithms, analysis tools, models, and their generated test cases, into one application. PCT implements model-checking-assisted test generation algorithms. These algorithms use counter-example generation capability of an off-the-shelf model checker to generate test cases. PCT provides capabilities to generate, analyze, and compare the effectiveness of test cases generated under different criteria. It helps developers choose appropriate criteria for their specific needs. We discuss in detail PCT's test generation algorithms and evaluation methodologies. PCT uses cross coverage and fault-injection-based sensitivity analysis to evaluate generated test cases. It helps a user select an appropriate test criterion for a given application. To evaluate PCT, we test it on applications selected from a variety of domains. Our test results show the effectiveness and efficiency of PCT and its underlying property-coverage testing techniques. We also present the Property/System Cyclomatic Complexity (PSCC), an empirical metric based on the cyclomatic complexity of models and property. PSCC estimates the quality of a property/system combination as a whole. We performed computational study on property/system pairs to evaluate the PSCC metric . Our results indicate a positive correlation between PSCC and the coverage of a requirement on a system model by the generated test suites. PCT and its underlying property-coverage testing techniques provide a holistic approach to debug a system and its linear temporal requirements, and a new way to extend the benefits of linear temporal requirements to testing.
Metrics
2 File views/ downloads
20 Record Views
Details
- Title
- Automated Test Generation for temporal specifications
- Creators
- Garima Bansal
- Contributors
- Li Tan (Degree Supervisor)
- Awarding Institution
- Washington State University
- Academic Unit
- Electrical Engineering and Computer Science, School of
- Theses and Dissertations
- Master of Science (MS), Washington State University
- Publisher
- Washington State University; [Pullman, Washington] :
- Identifiers
- 99900525279301842
- Language
- English
- Resource Type
- Thesis