Directed testing for property violations
Abstract
A method and apparatus is disclosed herein for automated testing of an application. A processing system executes the application using test input values that are generated for testing the application with respect to a property of interest. During execution, constraints among symbolic variables of the application are collected. Property state is collected and is used to determine whether a branch in the application is relevant to the property. Based on the collected constraints and branch relevancy, new test input values are generated. The process is repeated until all paths in the application corresponding to relevant branches have been explored.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generating test inputs for testing an application, the method comprising: executing, by a processing system, an application using test input values that are generated for testing the application with respect to a property of interest; collecting one or more constraints among symbolic variables of the application; determining whether a branch in the application is relevant to the property; generating new test input values based on the constraints and branch relevancy; generating, by a processing system, new test inputs for a next iteration based on test values of a current iteratio
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Agrawal, Hiralal, Et Al., "Dynamic Program Slicing", ACM SIG-PLAN '90 Conference on Programming Language Design and Implementation, Jun. 1990, 11 pgs., White Plains, New York, USA.
- Ball, Thomas, Et Al., "SLAM and Static Driver Verifier: Technology Transfer of Formal Methods inside Microsoft", Technical Report MSR-TR-2004-08, Jan. 28, 2004, 22 pgs., Microsoft Research, Microsoft Corporation, Redmond, WA, USA.
- Beckman, Nels E., Et Al., "Proof From Tests", ISSTA ' 08, Jul. 2008, 11 pgs., Seattle, WA, USA.
- Bird, D.L., Et Al., "Automatic generation of random self-checking test cases", IBM Systems Journal, 1983, 17 pgs., vol. 22, No. 3.
- Boonstoppel, Peter, et al., "RWset: Attacking Path Explosion in Constraint-Based Test Generation," N TACAS'08: International Conference on Tools and Algorithms for the Constructions and Analysis of Systems, 2008, 16 pgs.