Patent · US Active

Unit test generalization

US7587636B2 · kind B2 · utility

51Cited by
4References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 30, 2005
Grant dateSep 8, 2009
Priority date
Expiry dateApr 14, 2027

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3684
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A computer system provides a test program and one or more unit tests, such as a traditional unit test and or a parameterized unit test. The system also includes a constraint solver, a theorem prover, an implementation under test, a symbolic executor, a generalizor, and generated test cases. The generalizor receives a traditional unit tests as input, and modifies the traditional unit test into a parameterized unit test. The modification includes replacing plural concrete values in the traditional unit test with symbols, and exporting the symbols into a signature of the parameterized unit test. A symbolic executor identifies constraints while symbolically executing the created parameterized unit test of the implementation under test. A constraint solver and or theorem prover generates a set of test cases by solving for values that satisfy the series of constraints. The test program executes the automatically generated test cases.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.