首页>
外国专利>
Solving hybrid constraints to generate test cases for validating a software module
Solving hybrid constraints to generate test cases for validating a software module
展开▼
机译:解决混合约束以生成用于验证软件模块的测试用例
展开▼
页面导航
摘要
著录项
相似文献
摘要
In one embodiment, a method includes analyzing one or more first numeric constraints and one or more first string constraints associated with a software module including one or more numeric variables and string variables; inferring one or more second numeric constraints applying to specific ones of the string variables; inferring one or more second string constraints applying to specific ones of the numeric variables; representing each one of the first and second numeric constraints with an equation; representing each one of the first and second string constraints with a finite state machine; and testing the software module for one or more possible errors by attempting to solve for a solution including one or more values for specific ones of the numeric and string variables that satisfies all the first and second numeric constraints and all the first and second string constraints.
展开▼