发明申请
US20070271483A1 METHOD AND SYSTEM FOR DYNAMICALLY INVOKING AND/OR CHECKING CONDITIONS OF A COMPUTER TEST PROGRAM
审中-公开
用于动态测试和/或检查计算机测试程序条件的方法和系统
- 专利标题: METHOD AND SYSTEM FOR DYNAMICALLY INVOKING AND/OR CHECKING CONDITIONS OF A COMPUTER TEST PROGRAM
- 专利标题(中): 用于动态测试和/或检查计算机测试程序条件的方法和系统
-
申请号: US11833866申请日: 2007-08-03
-
公开(公告)号: US20070271483A1公开(公告)日: 2007-11-22
- 发明人: Adam Kolawa , Roman Salvador
- 申请人: Adam Kolawa , Roman Salvador
- 专利权人: PARASOFT CORPORATION
- 当前专利权人: PARASOFT CORPORATION
- 主分类号: H04L1/22
- IPC分类号: H04L1/22
摘要:
A method and system for dynamically invoking and/or checking conditions of a computer test program. Test cases that verify class/component functionality are automatically created from the DbC contracts. When the classes/components that contain DbC contracts are added to the system, the invention automatically verifies whether the system uses them correctly. The information in the contract comments is used to generate more comprehensive and better quality test cases. In one embodiment, a code's specification information is analyzed and a class with extra bytecodes that describe how the class is supposed to work and be used is generated. Next, the instrumented class is integrated into the system, and the system is run. The system is monitored as it runs and contract violations are automatically detected.
信息查询