- Patent Title: Method and device for retrieving test case based on code coverage
-
Application No.: US15271347Application Date: 2016-09-21
-
Publication No.: US10372594B2Publication Date: 2019-08-06
- Inventor: Bin Xu , Yue Li , Neil Yongjing Wang , Sam Lei Sun , Edward Zhibin Xu
- Applicant: EMC IP Holding Company LLC
- Applicant Address: US MA Hopkinton
- Assignee: EMC IP Holding Company LLC
- Current Assignee: EMC IP Holding Company LLC
- Current Assignee Address: US MA Hopkinton
- Agency: BainwoodHuang
- Priority: CN201510622723 20150925
- Main IPC: G06F11/36
- IPC: G06F11/36

Abstract:
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.
Public/Granted literature
- US20170132119A1 METHOD AND DEVICE FOR RETRIEVING TEST CASE BASED ON CODE COVERAGE Public/Granted day:2017-05-11
Information query