首页>
外国专利>
METHOD AND DEVICE FOR RETRIEVING TEST CASE BASED ON CODE COVERAGE
METHOD AND DEVICE FOR RETRIEVING TEST CASE BASED ON CODE COVERAGE
展开▼
机译:基于代码覆盖率的测试案例检索方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
Embodiments of the present invention relate to a method and a device for obtaining test cases based on a code coverage. The method comprises creating a mapping between source code and test cases based on a code coverage; and obtaining, in response to a change in the source code, the test cases for the change based on the mapping. The device comprises: a creating module configured to create a mapping between source code and test cases based on a code coverage; and an obtaining module configured to, in response to a change in the source code, obtain a test case for the change based on the mapping. Through such method and device, the embodiments of the present invention can obtain test cases as few as possible to cover the changed source code.
展开▼