Title:
TEST CASE RECOMMENDATION METHOD, ELECTRONIC DEVICE, AND READABLE STORAGE MEDIUM
Document Type and Number:
WIPO Patent Application WO/2019/200808
Kind Code:
A1
Abstract:
The present application relates to a test case recommendation method, an electronic device, and a readable storage medium. The method comprises: in a preset process of executing, in a test case, a test on a dynamic link of a software system to be tested, establishing, according to a preset rule, a mapping relationship between each test case and a hypertext transfer protocol (HTTP) request, and a mapping relationship between an HTTP request and a method chain in said software system; if a code change occurs in said software system, analyzing an affected method chain by means of the changed code; according to the established mapping relationship between a HTTP request and a method chain, determining an HTTP request corresponding to the affected method chain; according to the established mapping relationship between a test case and an HTTP request, determining a test case mapped by the HTTP request corresponding to the affected method chain; and recommending the determined test case as the test case of executing a test on said software system. The present application precisely recommends a test case for a changed code, maximizing the use of test execution resources and improving test efficiency.
Inventors:
MAO HAO (CN)
ZOU WENTAO (CN)
WANG XUHUI (CN)
ZOU WENTAO (CN)
WANG XUHUI (CN)
Application Number:
PCT/CN2018/102405
Publication Date:
October 24, 2019
Filing Date:
August 27, 2018
Export Citation:
Assignee:
PING AN TECH SHENZHEN CO LTD (CN)
International Classes:
G06F11/36
Foreign References:
CN107341098A | 2017-11-10 | |||
US9419884B1 | 2016-08-16 | |||
US20180121327A1 | 2018-05-03 |
Attorney, Agent or Firm:
SHENZHEN WORLD INTELLECTUAL PROPERTY AGENCY (GENERAL PARTNERSHIP) (CN)
Download PDF: