发明名称 Unit test generalization
摘要 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.
申请公布号 US2007033443(A1) 申请公布日期 2007.02.08
申请号 US20050323032 申请日期 2005.12.30
申请人 MICROSOFT CORPORATION 发明人 TILLMANN NIKOLAI;GRIESKAMP WOLFGANG;SCHULTE WOLFRAM
分类号 G06F11/00 主分类号 G06F11/00
代理机构 代理人
主权项
地址