CN107729227A - Application testing range determining method, system, server and storage medium - Google Patents

Application testing range determining method, system, server and storage medium Download PDF

Info

Publication number
CN107729227A
CN107729227A CN201710618076.4A CN201710618076A CN107729227A CN 107729227 A CN107729227 A CN 107729227A CN 201710618076 A CN201710618076 A CN 201710618076A CN 107729227 A CN107729227 A CN 107729227A
Authority
CN
China
Prior art keywords
test
function point
file
current version
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710618076.4A
Other languages
Chinese (zh)
Other versions
CN107729227B (en
Inventor
王庆丰
柯星
张远平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201710618076.4A priority Critical patent/CN107729227B/en
Publication of CN107729227A publication Critical patent/CN107729227A/en
Priority to PCT/CN2018/078321 priority patent/WO2019019647A1/en
Application granted granted Critical
Publication of CN107729227B publication Critical patent/CN107729227B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/368Test management for test version control, e.g. updating test cases to a new software version

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明涉及一种应用程序测试范围确定方法、系统、服务器和存储介质。所述方法包括:获取待测应用程序当前版本对应的第一映射文件;所述第一映射文件包括当前版本的功能点、存储路径和对应的测试用例;获取待测应用程序上一版本对应的第二映射文件;所述第二映射文件包括上一版本的功能点、存储路径和对应的测试用例;将所述第一映射文件与所述第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径;利用所述发生变化的功能点和/或所述发生变化的存储路径识别待测功能点;利用所述第一映射文件获取所述待测功能点对应的测试用例,将所述测试用例记录为当前版本对应的测试范围。通过本方法能够确定精准的应用程序测试范围。

The invention relates to a method, a system, a server and a storage medium for determining the testing range of an application program. The method includes: obtaining the first mapping file corresponding to the current version of the application program to be tested; the first mapping file includes the function points of the current version, storage paths and corresponding test cases; obtaining the corresponding test case of the previous version of the application program to be tested The second mapping file; the second mapping file includes the function points, storage paths and corresponding test cases of the previous version; comparing the first mapping file with the second mapping file to obtain the changed function points and/or the changed storage path; using the changed function point and/or the changed storage path to identify the function point to be tested; using the first mapping file to obtain the test corresponding to the function point to be tested Use case, record the test case as the test scope corresponding to the current version. This method enables precise application testing coverage to be determined.

Description

应用程序测试范围确定方法、系统、服务器和存储介质Application testing scoping method, system, server and storage medium

技术领域technical field

本发明涉及计算机技术领域,特别是涉及一种应用程序测试范围确定方法、系统、服务器和存储介质。The present invention relates to the field of computer technology, in particular to a method, system, server and storage medium for determining the testing range of an application program.

背景技术Background technique

随着移动互联网的发展,应用程序(Application,简称APP)版本迭代速度也越来越快。在应用程序的回归测试中,为了提高测试速度,可以考虑缩小测试范围,只对修改的功能或新增的功能进行测试。在传统的方式中,主要有以下两种方式来确定测试范围:With the development of the mobile Internet, the version iteration speed of the application program (Application, APP for short) is also getting faster and faster. In the regression test of the application program, in order to improve the test speed, it can be considered to narrow the scope of the test, and only test the modified function or the newly added function. In the traditional way, there are mainly the following two ways to determine the scope of the test:

1、可以根据APP的功能需求与测试人员的个人经验来确定一个较粗的测试范围;1. A rough test range can be determined according to the functional requirements of the APP and the personal experience of the testers;

2、也可以由研发人员根据其个人经验提供代码修改范围,以此来确定测试范围。2. The R&D personnel can also provide the scope of code modification based on their personal experience to determine the scope of testing.

在上述方式1中,由于APP的功能需求只能确定新增功能对应的测试范围,并不能确定被修改的功能所对应的测试范围,很容易造成测试范围过大或过小。在上述方式2中,由于众多开发人员的个人经验存在不同的差异,很难给出一个代码修改所对应的准确测试范围,经常会给出过小或过大的测试范围。如果测试范围过小,容易造成漏测,如果测试范围过大,容易导致不必要的测试。因此,如何确定精准的测试范围成为目前需要解决的一个技术问题。In the above method 1, since the functional requirements of the APP can only determine the test scope corresponding to the new function, but cannot determine the test scope corresponding to the modified function, it is easy to cause the test scope to be too large or too small. In the above method 2, due to the differences in the personal experience of many developers, it is difficult to give an accurate test scope corresponding to the code modification, and the test scope is often too small or too large. If the test range is too small, it is easy to cause missed tests, and if the test range is too large, it is easy to cause unnecessary tests. Therefore, how to determine the precise test range has become a technical problem that needs to be solved at present.

发明内容Contents of the invention

基于此,有必要针对上述技术问题,提供一种能够确定精准的测试范围的应用程序测试范围确定方法、系统、服务器和存储介质。Based on this, it is necessary to provide an application testing scope determination method, system, server and storage medium capable of determining an accurate testing scope in view of the above technical problems.

一种应用程序测试范围确定方法,所述方法包括:A method for determining the scope of application program testing, the method comprising:

获取待测应用程序当前版本对应的第一映射文件;所述第一映射文件包括当前版本的功能点、存储路径和对应的测试用例;Obtain the first mapping file corresponding to the current version of the application program to be tested; the first mapping file includes the function points, storage paths and corresponding test cases of the current version;

获取待测应用程序上一版本对应的第二映射文件;所述第二映射文件包括上一版本的功能点、存储路径和对应的测试用例;Obtain a second mapping file corresponding to the previous version of the application to be tested; the second mapping file includes the function points, storage paths and corresponding test cases of the previous version;

将所述第一映射文件与所述第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径;Comparing the first mapping file with the second mapping file to obtain changed function points and/or changed storage paths;

利用所述发生变化的功能点和/或所述发生变化的存储路径识别待测功能点;Using the changed function point and/or the changed storage path to identify the function point to be tested;

利用所述第一映射文件获取所述待测功能点对应的测试用例,将所述测试用例记录为当前版本对应的测试范围。The test case corresponding to the function point to be tested is obtained by using the first mapping file, and the test case is recorded as a test scope corresponding to the current version.

在其中一个实施例中,所述利用所述发生变化的功能点和/或所述发生变化的存储路径识别待测功能点的步骤,包括:In one of the embodiments, the step of using the changed function point and/or the changed storage path to identify the function point to be tested includes:

利用所述发生变化的功能点和/或所述发生变化的存储路径获取对应的代码文件;所述代码文件包括当前版本的代码文件和上一版本的代码文件;Obtain the corresponding code file by using the changed function point and/or the changed storage path; the code file includes the code file of the current version and the code file of the previous version;

将所述当前版本的代码文件和所述上一版本的代码文件进行比较,若不同,则将所述当前版本的代码文件对应的功能点记录为待测功能点。Comparing the code file of the current version with the code file of the previous version, if they are different, recording the function point corresponding to the code file of the current version as the function point to be tested.

在其中一个实施例中,所述利用所述发生变化的功能点和/或所述发生变化的存储路径获取对应的代码文件的步骤,包括:In one of the embodiments, the step of obtaining the corresponding code file by using the changed function point and/or the changed storage path includes:

若功能点未发生变化,对应的存储路径发生变化,根据发生变化的存储路获取对应的代码文件;If the function point does not change, the corresponding storage path changes, and the corresponding code file is obtained according to the changed storage path;

若功能点发生变化,对应的存储路径未发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件;If the function point changes, the corresponding storage path does not change, and the corresponding code file is obtained according to the storage path corresponding to the changed function point;

若功能点发生变化,且对应的存储路径发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件。If the function point changes and the corresponding storage path changes, the corresponding code file is obtained according to the storage path corresponding to the changed function point.

在其中一个实施例中,所述方法还包括:In one embodiment, the method also includes:

接收第一测试终端通过第一应用程序发送的当前版本测试范围的查询请求;receiving the query request of the current version test scope sent by the first test terminal through the first application program;

根据所述查询请求获取当前版本的多个待测功能点所对应的测试用例;Acquiring test cases corresponding to a plurality of function points to be tested in the current version according to the query request;

对多个测试用例进行左右值编号,将编号后的测试用例返回至所述第一测试终端进行展示。The left and right values of the multiple test cases are numbered, and the numbered test cases are returned to the first test terminal for display.

在其中一个实施例中,所述方法还包括:In one embodiment, the method also includes:

接收第一测试终端通过第二应用程序发送的登录请求;receiving a login request sent by the first test terminal through the second application program;

根据所述登录请求向第一测试终端返回对应的上传页面;以使得第一测试终端显示所述上传页面;所述第一测试终端还通过第一应用程序根据所述测试范围对待测应用程序进行测试,生成测试结果文件,所述测试结果文件包括第一标识;Return the corresponding upload page to the first test terminal according to the login request; so that the first test terminal displays the upload page; the first test terminal also performs the application program according to the test scope by the first application program Test, generate a test result file, the test result file includes a first identification;

接收第二测试终端上传的测试结果文件对应的描述信息,利用所述描述信息生成二维码,所述二维码中携带了第二标识;receiving the description information corresponding to the test result file uploaded by the second test terminal, using the description information to generate a two-dimensional code, the two-dimensional code carrying the second identification;

将携带所述二维码的上传页面返回至第二测试终端,以使得第一测试终端扫描所述二维码,识别二维码中的第二标识,将所述第二标识与测试结果文件的第一标识进行关联;Return the upload page carrying the two-dimensional code to the second test terminal, so that the first test terminal scans the two-dimensional code, recognizes the second logo in the two-dimensional code, and compares the second logo with the test result file associated with the first identifier;

接收所述第二测试终端上传的关联后的测试结果文件;receiving the associated test result file uploaded by the second test terminal;

根据第二标识获取对应的存储路径,将接收的测试结果文件按照所述存储路径进行存储。The corresponding storage path is obtained according to the second identifier, and the received test result file is stored according to the storage path.

一种应用程序测试范围确定系统,所述系统包括:A system for determining the scope of application program testing, the system comprising:

第一测试终端,用于发送当前版本测试范围的查询请求;The first test terminal is used to send a query request for the test scope of the current version;

服务器,用于根据所述查询请求获取当前版本对应的第一映射文件;所述第一映射文件包括当前版本的功能点、存储路径和对应的测试用例;获取应用程序上一版本对应的第二映射文件;所述第二映射文件包括上一版本的功能点、存储路径和对应的测试用例;将所述第一映射文件与所述第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径;利用所述发生变化的功能点和/或所述发生变化的存储路径识别待测功能点;利用所述第一映射文件获取所述待测功能点对应的测试用例,将所述测试用例记录为当前版本对应的测试范围;The server is configured to obtain the first mapping file corresponding to the current version according to the query request; the first mapping file includes the function points, storage paths and corresponding test cases of the current version; obtain the second mapping file corresponding to the previous version of the application program. Mapping file; the second mapping file includes function points, storage paths and corresponding test cases of the previous version; comparing the first mapping file with the second mapping file to obtain changed function points and/or or a changed storage path; using the changed function point and/or the changed storage path to identify the function point to be tested; using the first mapping file to obtain the test case corresponding to the function point to be tested, Record the test case as the test scope corresponding to the current version;

所述第一测试终端还用于接收服务器返回的当前版本对应的测试范围。The first test terminal is also used to receive the test range corresponding to the current version returned by the server.

在其中一个实施例中,所述服务器还用于利用所述发生变化的功能点和/或所述发生变化的存储路径获取对应的代码文件;所述代码文件包括当前版本的代码文件和上一版本的代码文件;将所述当前版本的代码文件和所述上一版本的代码文件进行比较,若不同,则将所述当前版本的代码文件对应的功能点记录为待测功能点。In one of the embodiments, the server is further configured to use the changed function point and/or the changed storage path to obtain the corresponding code file; the code file includes the code file of the current version and the previous version A code file of a version; comparing the code file of the current version with the code file of the previous version, if they are different, recording the function point corresponding to the code file of the current version as the function point to be tested.

在其中一个实施例中,所述服务器还用于若功能点未发生变化,对应的存储路径发生变化,根据发生变化的存储路获取对应的代码文件;若功能点发生变化,对应的存储路径未发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件;若功能点发生变化,且对应的存储路径发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件。。In one of the embodiments, the server is also used to obtain the corresponding code file according to the changed storage path if the function point does not change and the corresponding storage path changes; if the function point changes, the corresponding storage path has not changed. If there is a change, obtain the corresponding code file according to the storage path corresponding to the changed function point; if the function point changes and the corresponding storage path changes, obtain the corresponding code file according to the storage path corresponding to the changed function point . .

一种服务器,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行上述实施例中提供的方法步骤。A server includes a memory and a processor, where computer-readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor is made to execute the method steps provided in the foregoing embodiments.

一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述实施例中提供的方法步骤。One or more computer-readable non-volatile storage media storing computer-readable instructions, when the computer-readable instructions are executed by one or more processors, the one or more processors execute the methods provided in the above-mentioned embodiments step.

上述应用程序测试范围确定方法、系统、服务器和存储介质,通过获取应用程序当前版本对应的第一映射文件,以及上一版本对应的第二映射文件。将第一映射文件与第二映射文件进行比较,由此得到发生变化的功能点和/或发生变化的存储路径。进而利用发生变化的功能点和/或发生变化的存储路径可以准确识别出待测功能点。通过待测功能点获取对应的测试用例,将这些测试用例记录为当前版本对应的测试范围。由此在应用程序的回归测试中能够精准的确定测试范围,从而能够有效提高测试效率。The above method, system, server and storage medium for determining the scope of application testing obtain the first mapping file corresponding to the current version of the application and the second mapping file corresponding to the previous version. The first mapping file is compared with the second mapping file, thereby obtaining changed function points and/or changed storage paths. Furthermore, the function point to be tested can be accurately identified by using the changed function point and/or the changed storage path. Obtain the corresponding test cases through the function points to be tested, and record these test cases as the test scope corresponding to the current version. Therefore, the test scope can be accurately determined in the regression test of the application program, so that the test efficiency can be effectively improved.

附图说明Description of drawings

图1为一个实施例中应用程序测试范围确定方法的应用环境示意图;Fig. 1 is a schematic diagram of the application environment of the method for determining the scope of application testing in one embodiment;

图2为一个实施例中应用程序测试范围确定方法的流程图;Fig. 2 is a flow chart of the method for determining the scope of application testing in one embodiment;

图3为一个实施例中应用程序测试范围确定系统的结构图;Fig. 3 is a structural diagram of a system for determining the scope of application program testing in an embodiment;

图4为一个实施例中服务器的结构示意图。Fig. 4 is a schematic structural diagram of a server in an embodiment.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It can be understood that the terms "first", "second" and the like used in the present invention can be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first client could be termed a second client, and, similarly, a second client could be termed a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.

在一个实施例中,如图1所示,提供了一种应用程序测试范围确定方法、系统、服务器和存储介质的应用环境示意图。该应用环境包括服务器102和第一测试终端104。其中,服务器102与第一测试终端104可以通过网络进行通信。第一测试终端104可以为智能手机、平板电脑等。服务器102可以确定应用程序当前版本的测试范围。具体地,服务器102获取待测应用程序当前版本对应的第一映射文件,服务器102获取待测应用程序上一版本对应的第二映射文件。服务器102将第一映射文件与第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径和对应的测试用例,利用发生变化的功能点和/或发生变化的存储路径识别待测功能点,利用第一映射文件获取待测功能点对应的测试用例,将测试用例记录为当前版本对应的测试范围。In one embodiment, as shown in FIG. 1 , a schematic diagram of an application environment of a method, system, server, and storage medium for determining the scope of an application program test is provided. The application environment includes a server 102 and a first test terminal 104 . Wherein, the server 102 and the first test terminal 104 may communicate through a network. The first test terminal 104 may be a smart phone, a tablet computer, and the like. Server 102 can determine the testing coverage of the current version of the application. Specifically, the server 102 acquires a first mapping file corresponding to the current version of the application program to be tested, and the server 102 acquires a second mapping file corresponding to a previous version of the application program to be tested. The server 102 compares the first mapping file with the second mapping file, obtains the changed function point and/or the changed storage path and the corresponding test case, uses the changed function point and/or the changed storage path to identify For the function point to be tested, use the first mapping file to obtain the test case corresponding to the function point to be tested, and record the test case as the test scope corresponding to the current version.

第一测试终端104通过第一应用程序向服务器102发送当前版本测试范围的查询请求。服务器102根据查询请求获取当前版本的多个待测功能点所对应的测试用例,将多个测试用例返回至第一测试终端104。第一测试终端104接收测试用例,利用测试用例对当前版本的应用程序进行回归测试。The first test terminal 104 sends a query request for the test scope of the current version to the server 102 through the first application program. The server 102 acquires test cases corresponding to multiple function points to be tested in the current version according to the query request, and returns the multiple test cases to the first test terminal 104 . The first test terminal 104 receives the test case, and uses the test case to perform a regression test on the current version of the application program.

在一个实施例中,如图2所示,提供了一种应用程序测试范围确定方法,以该方法应用于服务器为例进行说明,具体包括:In one embodiment, as shown in FIG. 2 , a method for determining the scope of an application program test is provided, and the application of the method to a server is used as an example for illustration, specifically including:

步骤202,获取待测应用程序当前版本对应的第一映射文件;第一映射文件包括当前版本的功能点、存储路径和对应的测试用例。Step 202, obtain the first mapping file corresponding to the current version of the application program to be tested; the first mapping file includes the function points, storage paths and corresponding test cases of the current version.

步骤204,获取待测应用程序上一版本对应的第二映射文件;第二映射文件包括上一版本的功能点、存储路径和对应的测试用例。Step 204, obtain the second mapping file corresponding to the previous version of the application program to be tested; the second mapping file includes the function points, storage paths and corresponding test cases of the previous version.

步骤206,将第一映射文件与第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径。Step 206, comparing the first mapping file with the second mapping file to obtain changed function points and/or changed storage paths.

步骤208,利用发生变化的功能点和/或发生变化的存储路径识别待测功能点。Step 208, using the changed function point and/or the changed storage path to identify the function point to be tested.

步骤210,利用第一映射文件获取待测功能点对应的测试用例,将测试用例记录为当前版本对应的测试范围。Step 210, use the first mapping file to obtain the test case corresponding to the function point to be tested, and record the test case as the test scope corresponding to the current version.

应用程序可以是能够实现一种或多种功能的计算机程序。当应用程序增加新的功能、删除不必要的功能以及改进应用程序的功能时,开发人员更新应用程序的版本。在更新应用程序版本的过程中,开发人员通过修改上一版本应用程序的代码得到当前版本应用程序。An application program may be a computer program capable of performing one or more functions. Developers update versions of applications as they add new functionality, remove unnecessary functionality, and improve the functionality of the application. In the process of updating the version of the application program, the developer obtains the application program of the current version by modifying the code of the previous version of the application program.

在对当前版本的应用程序进行测试之前,可以通过服务器确定相应的测试范围,由此可以方便测试人员根据该测试范围对当前版本的应用程序进行测试,从而能够有效提高回归测试的测试效率。Before testing the current version of the application program, the corresponding test scope can be determined through the server, which can facilitate testers to test the current version of the application program according to the test scope, thereby effectively improving the test efficiency of the regression test.

应用程序包括多个功能点,每个功能点都具有对应的一个或多个代码文件。通过执行代码文件可以实现相应的功能点,例如,登录、查询以及修改设置等。代码文件可以按照对应的存储路径存储在服务器中。应用程序的功能点通过多个测试用例进行测试。不同的功能点采用不同的测试用例进行测试。An application program includes multiple function points, and each function point has corresponding one or more code files. Corresponding functions can be realized by executing code files, such as login, query, and modification of settings. The code files can be stored in the server according to the corresponding storage paths. Functional points of the application are tested through multiple test cases. Different function points are tested with different test cases.

测试人员根据应用程序的功能点、代码文件对应的存储路径以及功能点对应的测试用例生成映射文件。不同版本的应用程序可以具有不同的映射文件。Testers generate mapping files based on the function points of the application, the storage paths corresponding to the code files, and the test cases corresponding to the function points. Different versions of an application can have different mapping files.

服务器获取应用程序当前版本对应的第一映射文件,第一映射文件包括当前版本的功能点、代码文件对应的存储路径以及功能点对应的测试用例。第一映射文件还包括当前版本的功能点、代码文件对应的存储路径以及功能点对应的测试用例之间的映射关系。The server obtains the first mapping file corresponding to the current version of the application program, and the first mapping file includes the function point of the current version, the storage path corresponding to the code file, and the test case corresponding to the function point. The first mapping file also includes the mapping relationship between the function point of the current version, the storage path corresponding to the code file, and the test case corresponding to the function point.

服务器还可以获取应用程序上一版本对应的第二映射文件,第二映射文件包括上一版本的功能点、代码文件对应的存储路径和功能点对应的测试用例。第二映射文件还包括上一版本的功能点、代码文件对应的存储路径、以及功能点对应的测试用例之间的映射关系。The server may also obtain a second mapping file corresponding to a previous version of the application program, and the second mapping file includes function points of the previous version, storage paths corresponding to code files, and test cases corresponding to function points. The second mapping file also includes the function point of the previous version, the storage path corresponding to the code file, and the mapping relationship between the test cases corresponding to the function point.

应用程序当前版本中可以包括新增功能点,新增功能点具有新的功能、代码文件对应的存储路径以及功能点对应的测试用例。新增功能点、代码文件对应的存储路径以及新增功能点对应的测试用例,可以对应的记录在第一映射文件中。The current version of the application program may include new function points, which have new functions, storage paths corresponding to code files, and test cases corresponding to function points. The new function point, the storage path corresponding to the code file, and the test case corresponding to the new function point may be correspondingly recorded in the first mapping file.

对于第一映射文件中的新增功能点,可以称为与第二映射文件的功能点相比发生了变化的功能点,也可以简称为发生变化的功能点。对于新增功能点对应的存储路径,可以称为与第二映射文件的存储路径相比发生了变化的存储路径,也可以简称为发生变化的存储路径。The newly added function points in the first mapping file may be referred to as function points that have changed compared with the function points in the second mapping file, or may be referred to simply as function points that have changed. The storage path corresponding to the newly added function point may be referred to as a changed storage path compared with the storage path of the second mapping file, or may be simply referred to as a changed storage path.

应用程序当前版本还可以对上一版本中的一个或多个功能点进行修复。当前版本中修复后的功能点也可以称为发生变化的功能点。修复后的功能点的代码文件所对应的存储路径也可能会发生变化。同样地,第一映射文件中修复后的功能点的代码文件对应的存储路径也可能发生变化。对于第一映射文件中修复后的存储路径,可以称为与第二映射文件的存储路径相比发生变化的存储路径,也可以简称为发生变化的存储路径。The current version of the application program can also repair one or more function points in the previous version. Function points that have been fixed in the current version can also be referred to as changed function points. The storage path corresponding to the code file of the repaired function point may also change. Similarly, the storage path corresponding to the code file of the repaired function point in the first mapping file may also change. The repaired storage path in the first mapping file may be referred to as a changed storage path compared with the storage path of the second mapping file, or may be simply referred to as a changed storage path.

服务器将第一映射文件中的功能点和存储路径分别与第二映射文件中对应的功能点和存储路径进行比较,获取发生变化的功能点和/或发生变化的存储路径,利用发生变化的功能点和/或发生变化的存储路径识别待测功能点。The server compares the function points and storage paths in the first mapping file with the corresponding function points and storage paths in the second mapping file, obtains the changed function points and/or the changed storage paths, and utilizes the changed functions Points and/or changed memory paths identify function points to be tested.

服务器可以利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件。代码文件包括当前版本的代码文件和上一版本的代码文件,服务器可以将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。The server can use the changed function point and/or the changed storage path to obtain the corresponding code file. The code file includes the code file of the current version and the code file of the previous version. The server can compare the code file of the current version with the code file of the previous version. If they are different, record the function points corresponding to the code file of the current version as Function points to be tested.

服务器可以通过第一映射文件获取待测功能点对应的测试用例,测试用例可以具有优先级。服务器获取测试用例的优先级,将优先级最高的测试用例记录为优先测试用例,将优先测试用例记录为待测功能点对应的测试范围。The server can obtain the test case corresponding to the function point to be tested through the first mapping file, and the test case can have a priority. The server obtains the priority of the test case, records the test case with the highest priority as the priority test case, and records the priority test case as the test scope corresponding to the function point to be tested.

本实施例中,通过获取应用程序当前版本对应的第一映射文件,以及上一版本对应的第二映射文件。将第一映射文件与第二映射文件进行比较,由此得到发生变化的功能点和/或发生变化的存储路径。进而利用发生变化的功能点和/或发生变化的存储路径可以准确识别出待测功能点。通过待测功能点获取对应的测试用例,将这些测试用例记录为当前版本对应的测试范围。由此在应用程序的回归测试中能够精准的确定测试范围,从而能够有效提高测试效率。In this embodiment, the first mapping file corresponding to the current version of the application program and the second mapping file corresponding to the previous version are acquired. The first mapping file is compared with the second mapping file, thereby obtaining changed function points and/or changed storage paths. Furthermore, the function point to be tested can be accurately identified by using the changed function point and/or the changed storage path. Obtain the corresponding test cases through the function points to be tested, and record these test cases as the test scope corresponding to the current version. Therefore, the test scope can be accurately determined in the regression test of the application program, so that the test efficiency can be effectively improved.

在一个实施例中,利用发生变化的功能点和/或发生变化的存储路径识别待测功能点的步骤,包括:利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件;代码文件包括当前版本的代码文件和上一版本的代码文件;将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。In one embodiment, the step of using the changed function point and/or the changed storage path to identify the function point to be tested includes: using the changed function point and/or the changed storage path to obtain a corresponding code file; The code file includes the code file of the current version and the code file of the previous version; compare the code file of the current version with the code file of the previous version, and if they are different, record the function point corresponding to the code file of the current version as the one to be tested function points.

发生变化的功能点包括第一映射文件中的新增功能点对应的当前版本中发生变化的功能点;发生变化的功能点还包括当前版本中修复后的功能点,当前版本中修复后的功能点对应上一版本中的修复前的功能点。The changed function points include the changed function points in the current version corresponding to the new function points in the first mapping file; the changed function points also include the repaired function points in the current version, and the repaired function points in the current version Points correspond to pre-fixed function points in the previous version.

发生变化的存储路径包括第一映射文件中新增功能点对应的存储路径,还包括第一映射文件中修复后的存储路径,第一映射文件中修复后的存储路径对应第二映射文件中修复前的存储路径。The changed storage path includes the storage path corresponding to the new function point in the first mapping file, and also includes the repaired storage path in the first mapping file. The repaired storage path in the first mapping file corresponds to the repairing path in the second mapping file. previous storage path.

服务器利用发生变化的功能点和/或发生变化的存储路径可以获取对应的代码文件,包括当前版本中新增功能点对应的代码文件,还包括当前版本中可能发生变化的代码文件以及对应的上一版本的代码文件。The server can use the changed function points and/or changed storage paths to obtain the corresponding code files, including the code files corresponding to the new function points in the current version, as well as the code files that may change in the current version and the corresponding above A version of the code file.

在其中一个实施例中,利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件的步骤,包括:若功能点未发生变化,对应的存储路径发生变化,根据发生变化的存储路获取对应的代码文件;若功能点发生变化,对应的存储路径未发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件;若功能点发生变化,且对应的存储路径发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件。In one of the embodiments, the step of obtaining the corresponding code file by using the changed function point and/or the changed storage path includes: if the function point does not change, the corresponding storage path changes, and according to the changed storage path If the function point changes, the corresponding storage path does not change, and the corresponding code file is obtained according to the storage path corresponding to the changed function point; if the function point changes, and the corresponding storage path occurs Change, obtain the corresponding code file according to the storage path corresponding to the changed function point.

服务器将第一映射文件中的功能点与第二映射文件中的功能点进行比较,识别第一映射文件中是否包括发生变化的功能点。服务器将第一映射文件中的功能点对应的存储路径和第二映射文件中的功能点对应的存储路径进行比较,识别第一映射文件中是否包括发生变化的存储路径。The server compares the function points in the first mapping file with the function points in the second mapping file, and identifies whether the changed function points are included in the first mapping file. The server compares the storage path corresponding to the function point in the first mapping file with the storage path corresponding to the function point in the second mapping file, and identifies whether the changed storage path is included in the first mapping file.

如果第一映射文件中的功能点未发生变化,且与该功能点对应的存储路径未发生变化,表示存储路径下的代码文件未发生变化。也就是说该功能点在当前版本中与上一版本中相比,没有发生变化。对于没有发生变化的功能点,在回归测试中可以不必测试。If the function point in the first mapping file does not change, and the storage path corresponding to the function point does not change, it means that the code file under the storage path does not change. That is to say, this function point has not changed in the current version compared with the previous version. For the function points that have not changed, there is no need to test them in the regression test.

如果第一映射文件中存在新增功能点,将新增功能点记录为待测功能点。由于新增功能点具有新的功能,服务器需要利用新的代码文件实现新的功能,利用新的测试用例测试新的功能。因此,服务器将新增功能点记录为待测功能点。If there is a new function point in the first mapping file, record the new function point as the function point to be tested. Since the new function points have new functions, the server needs to use new code files to implement new functions, and use new test cases to test new functions. Therefore, the server records the newly added function point as the function point to be tested.

如果第一映射文件的功能点未发生变化,但与该功能点对应的存储路径发生变化,说明该存储路径下的代码文件可能发生变化,则服务器利用第一映射文件获取该存储路径下的代码文件。同样地,服务器利用第二映射文件获取修复前的存储路径下的代码文件。服务器将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。If the function point of the first mapping file does not change, but the storage path corresponding to the function point changes, indicating that the code file under the storage path may change, then the server uses the first mapping file to obtain the code under the storage path document. Similarly, the server uses the second mapping file to obtain the code file under the storage path before repair. The server compares the code file of the current version with the code file of the previous version, and if they are different, records the function point corresponding to the code file of the current version as the function point to be tested.

如果第一映射文件中的功能点发生变化,且与该功能点对应的存储路径未发生变化,说明存储路径下的代码文件可能发生变化,服务器利用第一映射文件获取该存储路径下的代码文件。同样地,服务器利用第二映射文件获取修复前的存储路径下的代码文件。服务器将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。If the function point in the first mapping file changes, and the storage path corresponding to the function point does not change, it means that the code file under the storage path may change, and the server uses the first mapping file to obtain the code file under the storage path . Similarly, the server uses the second mapping file to obtain the code file under the storage path before repair. The server compares the code file of the current version with the code file of the previous version, and if they are different, records the function point corresponding to the code file of the current version as the function point to be tested.

如果第一映射文件中的功能点发生变化,且与该功能点对应的存储路径发生变化,说明存储路径下的代码文件可能发生变化,服务器利用第一映射文件获取该存储路径下的代码文件。同样地,服务器利用第二映射文件获取修复前的存储路径下的代码文件。服务器将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。If the function point in the first mapping file changes and the storage path corresponding to the function point changes, it means that the code file under the storage path may change, and the server uses the first mapping file to obtain the code file under the storage path. Similarly, the server uses the second mapping file to obtain the code file under the storage path before repair. The server compares the code file of the current version with the code file of the previous version, and if they are different, records the function point corresponding to the code file of the current version as the function point to be tested.

服务器将当前版本中可能发生变化的代码文件和对应的上一版本的代码文件进行比较,利用发生变化的代码文件识别待测功能点。具体地,服务器利用消息摘要对当前版本中可能发生变化的代码文件和上一版本中对应的代码文件进行比较。服务器计算当前版本中可能发生变化的代码文件的第一MD5值,计算上一版本中对应的代码文件的第二MD5值。服务器将第一MD5值与第二MD5值进行比较,如果第一MD5值和第二MD5值不同,说明当前版本中可能发生变化的代码文件和上一版本中对应的代码文件不同,则将该当前版本中可能发生变化的代码文件所对应的功能点记录为待测功能点。服务器通过对比当前版本中可能发生变化的代码文件的第一MD5值和上一版本中对应的代码文件的第二MD5值,进而能够准确得到所需的待测功能点。The server compares the code files that may change in the current version with the corresponding code files of the previous version, and uses the changed code files to identify the function points to be tested. Specifically, the server uses the message digest to compare the code files that may change in the current version with the corresponding code files in the previous version. The server calculates the first MD5 value of the code file that may change in the current version, and calculates the second MD5 value of the corresponding code file in the previous version. The server compares the first MD5 value with the second MD5 value. If the first MD5 value is different from the second MD5 value, it means that the code file that may change in the current version is different from the corresponding code file in the previous version. The function points corresponding to the code files that may change in the current version are recorded as the function points to be tested. The server can accurately obtain the required function points to be tested by comparing the first MD5 value of the code file that may change in the current version with the second MD5 value of the corresponding code file in the previous version.

本实施例中,利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件,将代码文件中的当前版本代码文件和上一版本代码文件进行比较,准确的识别发生变化的代码文件,有利于利用发生变化的代码文件获取待测功能点,提高测试范围的准确性。In this embodiment, the corresponding code file is obtained by using the changed function point and/or the changed storage path, and the current version code file in the code file is compared with the previous version code file to accurately identify the changed code file, which is beneficial to use the changed code file to obtain the function points to be tested and improve the accuracy of the test scope.

在一个实施例中,测试用例包括优先级、测试类型以及测试阶段,利用测试用例确定测试范围的步骤包括:根据测试用例对应的优先级获取多个优先测试用例;若优先测试用例数量是否超过阈值,则根据优先测试用例对应测试阶段和/或测试类型确定测试范围。In one embodiment, the test case includes priority, test type and test phase, and the step of using the test case to determine the test scope includes: obtaining a plurality of priority test cases according to the priority corresponding to the test case; if the number of priority test cases exceeds the threshold , then determine the test scope according to the test phase and/or test type corresponding to the priority test case.

应用程序包括多个应用程序版本。如果待测应用程序为第一版本,则服务器利用所有测试用例对对应的功能点进行测试。如果待测应用程序不是第一版本,则服务器将当前版本应用程序对应的第一映射文件和上一版本应用程序对应的第二映射文件进行比较,获取待测应用程序功能点中的待测功能点,包括获取待测功能点对应的测试用例,进而利用测试用例对对应的待测功能点进行测试。The application includes multiple application versions. If the application program to be tested is the first version, the server uses all test cases to test the corresponding function points. If the application program to be tested is not the first version, the server compares the first mapping file corresponding to the application program of the current version with the second mapping file corresponding to the application program of the previous version, and obtains the function to be tested in the function points of the application program to be tested point, including obtaining the test case corresponding to the function point to be tested, and then using the test case to test the corresponding function point to be tested.

待测功能点对应多个测试用例,服务器根据待测功能点的测试用例进一步确定待测功能点的测试范围。具体地,服务器利用第一映射文件获取待测功能点对应的测试用例,测试用例包括优先级、测试类型以及测试阶段等。其中,测试类型包括界面测试、基础功能测试以及异常测试等。测试阶段包括性能测试、安全测试以及稳定性测试等,测试用例的测试类型对应测试用例的测试阶段。服务器将优先级较高的测试用例作为优先测试用例,优先测试用例对功能点的功能影响指数较高。具体地,服务器获取优先级最高的测试用例,记录为优先测试用例。如果优先测试用例数量超过阈值,说明待测功能点对应的多个测试用例的优先级一样高,则服务器根据优先测试用例对应的测试阶段和测试类型进一步筛选测试用例,最终得到的测试用例即应用程序的测试范围。The function point to be tested corresponds to multiple test cases, and the server further determines the test scope of the function point to be tested according to the test cases of the function point to be tested. Specifically, the server uses the first mapping file to obtain test cases corresponding to the function points to be tested, and the test cases include priority, test type, and test phase. Among them, the test types include interface test, basic function test and exception test. The testing phase includes performance testing, security testing, and stability testing, etc., and the test type of the test case corresponds to the testing phase of the test case. The server regards the test case with higher priority as the priority test case, and the function impact index of the priority test case on the function point is higher. Specifically, the server obtains the test case with the highest priority and records it as the priority test case. If the number of priority test cases exceeds the threshold, it means that multiple test cases corresponding to the function points to be tested have the same priority, and the server further screens the test cases according to the test phase and test type corresponding to the priority test cases, and the final test case is the application The test scope of the program.

本实施例中,通过获取待测功能点对应的测试用例的优先级,利用测试用例的优先级获取优先测试用例,从而获取了对功能点的功能影响较大的测试用例。服务器利用优先测试用例的测试阶段和测试类型进一步获取符合当前测试需求的测试用例,从而确定更精确的测试范围。In this embodiment, by obtaining the priority of the test case corresponding to the function point to be tested, the priority of the test case is used to obtain the priority test case, thereby obtaining the test case that has a greater impact on the function of the function point. The server uses the test phase and test type of the priority test cases to further obtain test cases that meet the current test requirements, so as to determine a more accurate test range.

在一个实施例中,接收第一测试终端通过第一应用程序发送的当前版本测试范围的查询请求;根据查询请求获取当前版本的多个待测功能点所对应的测试用例;对多个测试用例进行左右值编号,将编号后的测试用例返回至第一测试终端进行展示。In one embodiment, the query request of the test scope of the current version sent by the first test terminal through the first application program is received; according to the query request, the test case corresponding to a plurality of function points to be tested in the current version is obtained; for multiple test cases The left and right values are numbered, and the numbered test cases are returned to the first test terminal for display.

测试人员可以利用第一测试终端对应用程序进行回归测试。在进行测试之前,第一测试终端可以通过第一应用程序向服务器发送当前版本测试范围的查询请求,服务器根据该查询请求获取当前版本的多个待测功能点对应的测试用例,返回第一测试终端的Web页面进行展示。Testers can use the first testing terminal to perform regression testing on the application program. Before testing, the first test terminal can send a query request for the test scope of the current version to the server through the first application program, and the server obtains test cases corresponding to a plurality of function points to be tested in the current version according to the query request, and returns the first test Display on the web page of the terminal.

在传统的方式中,服务器将测试用例返回至Web页面时,通常会根据测试用例之间的关联生成测试用例树。测试用例树采用多叉树结构,由于多叉树结构复杂,在第一测试终端的Web页面进行展示时,加载时间较长。In the traditional way, when the server returns the test cases to the Web page, it usually generates a test case tree according to the association between the test cases. The test case tree adopts a multi-fork tree structure. Due to the complexity of the multi-fork tree structure, when it is displayed on the Web page of the first test terminal, it takes a long time to load.

为了有效节省测试用例的加载时间,服务器可以利用左右值编码算法分别对每个待测功能点对应的多个测试用例进行左右值编号,进而生成测试用例树。具体地,服务器将待测功能点的测试用例作为节点,利用左右值编码算法对节点的左值进行递增排序,进而计算每个节点对应的右值。例如,如果有一个父节点,下一层级子节点包括第一子节点和第二子节点,则服务器将父节点的左值编号为1,第一子节点的左值编号为2,第一子节点的右值编号为3,第二子节点的左值编号为4,第二子节点的右值编号为5,父节点右值编号为6。同样地,服务器可以利用左右值编码算法对所有待测功能点对应的测试用例进行编号,生成测试用例树。In order to effectively save the loading time of the test cases, the server can use the left and right value encoding algorithm to respectively number the left and right values of the multiple test cases corresponding to each function point to be tested, and then generate a test case tree. Specifically, the server takes the test case of the function point to be tested as a node, uses the left and right value encoding algorithm to sort the left value of the node incrementally, and then calculates the right value corresponding to each node. For example, if there is a parent node, and the child nodes of the next level include the first child node and the second child node, the server will number the left value of the parent node as 1, the left value of the first child node as 2, and the first child node The right value number of the node is 3, the left value number of the second child node is 4, the right value number of the second child node is 5, and the right value number of the parent node is 6. Similarly, the server can use the left and right value coding algorithm to number the test cases corresponding to all the function points to be tested to generate a test case tree.

服务器将测试用例树返回至第一测试终端后,第一测试终端可以利用动态树插件按照测试用例树的节点层级在前端展示测试用例树。由此有效简化了测试用例树结构,提高了测试用例加载速度。After the server returns the test case tree to the first test terminal, the first test terminal can use the dynamic tree plug-in to display the test case tree on the front end according to the node level of the test case tree. This effectively simplifies the test case tree structure and improves the test case loading speed.

在一个实施例中,接收第一测试终端通过第二应用程序发送的登录请求;根据登录请求向第一测试终端返回对应的上传页面;以使得第一测试终端显示上传页面;第一测试终端还通过第一应用程序根据测试范围对待测应用程序进行测试,生成测试结果文件,测试结果文件包括第一标识;接收第二测试终端上传的测试结果文件对应的描述信息,利用描述信息生成二维码,二维码中携带了第二标识;将携带二维码的上传页面返回至第二测试终端,以使得第一测试终端扫描二维码,识别二维码中的第二标识,将第二标识与测试结果文件的第一标识进行关联;接收第二测试终端上传的关联后的测试结果文件;根据第二标识获取对应的存储路径,将接收的测试结果文件按照存储路径进行存储。In one embodiment, the login request sent by the first test terminal through the second application program is received; the corresponding upload page is returned to the first test terminal according to the login request; so that the first test terminal displays the upload page; the first test terminal also Test the application program to be tested according to the test scope through the first application program, generate a test result file, and the test result file includes the first identification; receive the description information corresponding to the test result file uploaded by the second test terminal, and use the description information to generate a two-dimensional code , the two-dimensional code carries the second logo; return the upload page carrying the two-dimensional code to the second test terminal, so that the first test terminal scans the two-dimensional code, recognizes the second logo in the two-dimensional code, and uploads the second The identification is associated with the first identification of the test result file; the associated test result file uploaded by the second test terminal is received; the corresponding storage path is obtained according to the second identification, and the received test result file is stored according to the storage path.

服务器根据查询请求将测试范围发送给第一测试终端,第一测试终端根据测试范围对待测应用程序进行测试,生成测试结果文件,测试结果文件中包括第一标识;第一测试终端中包括第二应用程序,第二应用程序向服务器发送登录请求,服务器根据登录请求向第一测试终端发送对应的上传页面。The server sends the test scope to the first test terminal according to the query request, and the first test terminal tests the application program to be tested according to the test scope, and generates a test result file, which includes the first identification; the first test terminal includes the second application program, the second application program sends a login request to the server, and the server sends a corresponding upload page to the first test terminal according to the login request.

在本实施例中,第一测试终端可以是移动终端,包括可以运行应用程序进行测试的平板电脑和智能手机等。测试人员通过第一测试终端进行测试,生成相应的测试结果文件。测试结果文件被上传至服务器之前,测试人员还需要输入与测试结果文件对应的描述信息。描述信息可以包括测试类型、测试结果关键字以及测试阶段等。In this embodiment, the first testing terminal may be a mobile terminal, including a tablet computer and a smart phone that can run an application program for testing. Testers conduct tests through the first test terminal, and generate corresponding test result files. Before the test result file is uploaded to the server, the tester also needs to input the description information corresponding to the test result file. The descriptive information may include test type, test result keywords, and test phases.

由于移动终端通过触摸屏输入描述信息,若单手操作,输入效率会较低。为了提高输入效率,测试人员可以采用第二测试终端输入描述信息。第二测试终端可以是测试人员的台式电脑、笔记本电脑等。第二测试终端将描述信息发送至服务器,服务器接收描述信息,并利用描述信息生成二维码,二维码中携带了第二标识。服务器生成上传页面,上传页面中包括二维码,将携带二维码的上传页面返回至第二测试终端。Since the mobile terminal inputs the description information through the touch screen, if it is operated with one hand, the input efficiency will be low. In order to improve the input efficiency, the tester can use the second test terminal to input the description information. The second test terminal may be a tester's desktop computer, notebook computer, and the like. The second test terminal sends the description information to the server, and the server receives the description information, and uses the description information to generate a two-dimensional code, and the two-dimensional code carries the second identification. The server generates an upload page, the upload page includes a two-dimensional code, and returns the upload page carrying the two-dimensional code to the second test terminal.

第一测试终端扫描第二测试终端上传页面中的二维码,识别二维码中的第二标识,将第一标识与第二标识关联,第二测试终端通过关联关系获取第一测试终端中的测试结果文件,将测试结果文件上传至服务器,服务器根据第二标识对应的存储路径存储测试结果文件。由此使得测试结果文件和描述信息的上传更加便捷,有效提高了测试效率。The first test terminal scans the two-dimensional code in the page uploaded by the second test terminal, recognizes the second logo in the two-dimensional code, associates the first logo with the second logo, and the second test terminal obtains the information in the first test terminal through the association relationship. upload the test result file to the server, and the server stores the test result file according to the storage path corresponding to the second identifier. This makes uploading of test result files and description information more convenient, and effectively improves test efficiency.

在一个实施例中,如图3所示,提供了一种应用程序测试范围确定系统,包括:服务器302和第一测试终端304,其中:In one embodiment, as shown in FIG. 3 , a system for determining the scope of an application program test is provided, including: a server 302 and a first test terminal 304, wherein:

第一测试终端304,用于发送当前版本测试范围的查询请求;The first test terminal 304 is used to send a query request for the test scope of the current version;

服务器302,用于根据查询请求获取当前版本对应的第一映射文件;第一映射文件包括当前版本的功能点、存储路径和对应的测试用例;获取应用程序上一版本对应的第二映射文件;第二映射文件包括上一版本的功能点、存储路径和对应的测试用例;将第一映射文件与第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径;利用发生变化的功能点和/或发生变化的存储路径识别待测功能点;利用第一映射文件获取待测功能点对应的测试用例,将测试用例记录为当前版本对应的测试范围;The server 302 is configured to obtain the first mapping file corresponding to the current version according to the query request; the first mapping file includes the function points, storage paths and corresponding test cases of the current version; obtain the second mapping file corresponding to the previous version of the application program; The second mapping file includes the function point, storage path and corresponding test case of the previous version; the first mapping file is compared with the second mapping file to obtain the changed function point and/or the changed storage path; The changed function point and/or the changed storage path identify the function point to be tested; use the first mapping file to obtain the test case corresponding to the function point to be tested, and record the test case as the test scope corresponding to the current version;

第一测试终端304还用于接收服务器302返回的当前版本对应的测试范围。The first test terminal 304 is also used to receive the test range corresponding to the current version returned by the server 302 .

在一个实施例中,服务器302还用于利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件;代码文件包括当前版本的代码文件和上一版本的代码文件;将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。In one embodiment, the server 302 is also used to obtain the corresponding code file using the changed function point and/or the changed storage path; the code file includes the code file of the current version and the code file of the previous version; the current version The code file of the current version is compared with the code file of the previous version, and if they are different, the function point corresponding to the code file of the current version is recorded as the function point to be tested.

在一个实施例中,服务器302还用于若功能点未发生变化,对应的存储路径发生变化,根据发生变化的存储路获取对应的代码文件;若功能点发生变化,对应的存储路径未发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件;若功能点发生变化,且对应的存储路径发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件。In one embodiment, the server 302 is also used to obtain the corresponding code file according to the changed storage path if the function point does not change and the corresponding storage path changes; if the function point changes, the corresponding storage path does not change , obtain the corresponding code file according to the storage path corresponding to the changed function point; if the function point changes and the corresponding storage path changes, obtain the corresponding code file according to the storage path corresponding to the changed function point.

在一个实施例中,服务器302还用于接收第一测试终端304通过第一应用程序发送的当前版本测试范围的查询请求;根据查询请求获取当前版本的多个待测功能点所对应的测试用例;对多个测试用例进行左右值编号,将编号后的测试用例返回至第一测试终端304进行展示。In one embodiment, the server 302 is also used to receive the query request of the test scope of the current version sent by the first test terminal 304 through the first application program; according to the query request, obtain the test cases corresponding to a plurality of function points to be tested in the current version ; Number the left and right values of the multiple test cases, and return the numbered test cases to the first test terminal 304 for display.

在一个实施例中,应用程序测试范围确定系统还包括第二测试终端306。服务器302还用于接收第一测试终端304通过第二应用程序发送的登录请求;服务器302还用于根据登录请求向第一测试终端304返回对应的上传页面;以使得第一测试终端304显示上传页面;第一测试终端304还用于通过第一应用程序根据测试范围对待测应用程序进行测试,生成测试结果文件,测试结果文件包括第一标识;服务器302还用于接收第二测试终端306上传的测试结果文件对应的描述信息,利用描述信息生成二维码,二维码中携带了第二标识;服务器302还用于将携带二维码的上传页面返回至第二测试终端306,以使得第一测试终端304扫描二维码,识别二维码中的第二标识,将第二标识与测试结果文件的第一标识进行关联;服务器302接收第二测试终端上传的关联后的测试结果文件;服务器302还用于根据第二标识获取对应的存储路径,将接收的测试结果文件按照存储路径进行存储。In one embodiment, the system for determining the scope of application testing further includes a second testing terminal 306 . The server 302 is also used to receive the login request sent by the first test terminal 304 through the second application program; the server 302 is also used to return the corresponding upload page to the first test terminal 304 according to the login request; so that the first test terminal 304 displays the uploaded page. page; the first test terminal 304 is also used to test the application program to be tested according to the test scope by the first application program, and generates a test result file, and the test result file includes the first identification; the server 302 is also used to receive the second test terminal 306 to upload The description information corresponding to the test result file of the test result file is used to generate a two-dimensional code, and the two-dimensional code carries the second identification; the server 302 is also used to return the uploaded page carrying the two-dimensional code to the second test terminal 306, so that The first test terminal 304 scans the two-dimensional code, recognizes the second identifier in the two-dimensional code, and associates the second identifier with the first identifier of the test result file; the server 302 receives the associated test result file uploaded by the second test terminal The server 302 is also used to obtain the corresponding storage path according to the second identifier, and store the received test result file according to the storage path.

在一个实施例中,提供了一种服务器,如图4所示,该服务器包括通过系统总线连接的处理器、存储器和网络接口。其中,该服务器的处理器用于提供计算和控制能力。该服务器的存储器包括非易失性存储介质、内存储器。该服务器的非易失性存储介质存储有操作系统和和计算机可读指令,该计算机可读指令被处理器执行时以实现一种应用程序测试范围确定方法。该服务器的内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该服务器的网络接口用于与外部的终端通过网络连接通信,比如,接收第一测试终端发送的应用程序当前版本的测试范围查询请求以及第二测试终端发送的测试结果文件等。处理器执行计算机可读指令时可以执行以下步骤:In one embodiment, a server is provided. As shown in FIG. 4 , the server includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of the server is used to provide calculation and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the server stores an operating system and computer-readable instructions, and when the computer-readable instructions are executed by a processor, a method for determining an application program testing range is implemented. The server's internal memory provides an environment for the execution of the operating system and computer readable instructions on the non-volatile storage medium. The server's network interface is used to communicate with external terminals through a network connection, for example, to receive a test scope query request of the current version of the application program sent by the first test terminal and a test result file sent by the second test terminal. When the processor executes the computer readable instructions, the following steps may be performed:

获取待测应用程序当前版本对应的第一映射文件;第一映射文件包括当前版本的功能点、存储路径和对应的测试用例;获取待测应用程序上一版本对应的第二映射文件;第二映射文件包括上一版本的功能点、存储路径和对应的测试用例;将第一映射文件与第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径;利用发生变化的功能点和/或发生变化的存储路径识别待测功能点;利用第一映射文件获取待测功能点对应的测试用例,将测试用例记录为当前版本对应的测试范围。Obtain the first mapping file corresponding to the current version of the application to be tested; the first mapping file includes the function points, storage paths and corresponding test cases of the current version; obtain the second mapping file corresponding to the previous version of the application to be tested; the second The mapping file includes the function points, storage paths and corresponding test cases of the previous version; compare the first mapping file with the second mapping file to obtain the changed function points and/or changed storage paths; use the changed The function point and/or the changed storage path identify the function point to be tested; use the first mapping file to obtain the test case corresponding to the function point to be tested, and record the test case as the test scope corresponding to the current version.

本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 4 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation to the server on which the solution of this application is applied. The specific server may include More or fewer components are shown in the figures, or certain components are combined, or have different component arrangements.

在一个实施例中,处理器执行计算机可读指令时还执行以下步骤:In one embodiment, when the processor executes the computer readable instructions, the following steps are also performed:

利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件;代码文件包括当前版本的代码文件和上一版本的代码文件;Obtain the corresponding code file by using the changed function point and/or the changed storage path; the code file includes the code file of the current version and the code file of the previous version;

将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。The code file of the current version is compared with the code file of the previous version, and if they are different, the function point corresponding to the code file of the current version is recorded as the function point to be tested.

在一个实施例中,处理器执行计算机可读指令时还执行以下步骤:In one embodiment, when the processor executes the computer readable instructions, the following steps are also performed:

若功能点未发生变化,对应的存储路径发生变化,根据发生变化的存储路获取对应的代码文件;If the function point does not change, the corresponding storage path changes, and the corresponding code file is obtained according to the changed storage path;

若功能点发生变化,对应的存储路径未发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件;If the function point changes, the corresponding storage path does not change, and the corresponding code file is obtained according to the storage path corresponding to the changed function point;

若功能点发生变化,且对应的存储路径发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件。If the function point changes and the corresponding storage path changes, the corresponding code file is obtained according to the storage path corresponding to the changed function point.

在一个实施例中,处理器执行计算机可读指令时还执行以下步骤:In one embodiment, when the processor executes the computer readable instructions, the following steps are also performed:

接收第一测试终端通过第一应用程序发送的当前版本测试范围的查询请求;receiving the query request of the current version test scope sent by the first test terminal through the first application program;

根据查询请求获取当前版本的多个待测功能点所对应的测试用例;Obtain test cases corresponding to multiple function points to be tested in the current version according to the query request;

对多个测试用例进行左右值编号,将编号后的测试用例返回至第一测试终端进行展示。Number the left and right values of the multiple test cases, and return the numbered test cases to the first test terminal for display.

在一个实施例中,处理器执行计算机可读指令时还执行以下步骤:In one embodiment, when the processor executes the computer readable instructions, the following steps are also performed:

接收第一测试终端通过第二应用程序发送的登录请求;receiving a login request sent by the first test terminal through the second application program;

根据登录请求向第一测试终端返回对应的上传页面;以使得第一测试终端显示上传页面;第一测试终端还通过第一应用程序根据测试范围对待测应用程序进行测试,生成测试结果文件,测试结果文件包括第一标识;Return the corresponding upload page to the first test terminal according to the login request; so that the first test terminal displays the upload page; the first test terminal also tests the application program to be tested according to the test scope by the first application program, generates a test result file, and tests the resulting file includes a first identification;

接收第二测试终端上传的测试结果文件对应的描述信息,利用描述信息生成二维码,二维码中携带了第二标识;receiving the description information corresponding to the test result file uploaded by the second test terminal, and generating a two-dimensional code by using the description information, and the two-dimensional code carries the second identification;

将携带二维码的上传页面返回至第二测试终端,以使得第一测试终端扫描二维码,识别二维码中的第二标识,将第二标识与测试结果文件的第一标识进行关联;Return the upload page carrying the two-dimensional code to the second test terminal, so that the first test terminal scans the two-dimensional code, recognizes the second mark in the two-dimensional code, and associates the second mark with the first mark of the test result file ;

接收第二测试终端上传的关联后的测试结果文件;receiving the associated test result file uploaded by the second test terminal;

根据第二标识获取对应的存储路径,将接收的测试结果文件按照存储路径进行存储。The corresponding storage path is obtained according to the second identification, and the received test result file is stored according to the storage path.

在一个实施例中,提供了一个或多个存储有计算机可读指令的计算机可读非易失性存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:In one embodiment, one or more computer-readable non-volatile storage media storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to Perform the following steps:

获取待测应用程序当前版本对应的第一映射文件;第一映射文件包括当前版本的功能点、存储路径和对应的测试用例;Obtain the first mapping file corresponding to the current version of the application program to be tested; the first mapping file includes the function points, storage paths and corresponding test cases of the current version;

获取待测应用程序上一版本对应的第二映射文件;第二映射文件包括上一版本的功能点、存储路径和对应的测试用例;Obtain the second mapping file corresponding to the previous version of the application to be tested; the second mapping file includes the function points, storage paths and corresponding test cases of the previous version;

将第一映射文件与第二映射文件进行比较,得到发生变化的功能点和/或发生变化的存储路径;Comparing the first mapping file with the second mapping file to obtain changed function points and/or changed storage paths;

利用发生变化的功能点和/或发生变化的存储路径识别待测功能点;Using the changed function point and/or the changed storage path to identify the function point to be tested;

利用第一映射文件获取待测功能点对应的测试用例,将测试用例记录为当前版本对应的测试范围。The test case corresponding to the function point to be tested is obtained by using the first mapping file, and the test case is recorded as the test scope corresponding to the current version.

在一个实施例中,计算机可读指令被处理器执行时还执行以下步骤:In one embodiment, when the computer readable instructions are executed by the processor, the following steps are also performed:

利用发生变化的功能点和/或发生变化的存储路径获取对应的代码文件;代码文件包括当前版本的代码文件和上一版本的代码文件;Obtain the corresponding code file by using the changed function point and/or the changed storage path; the code file includes the code file of the current version and the code file of the previous version;

将当前版本的代码文件和上一版本的代码文件进行比较,若不同,则将当前版本的代码文件对应的功能点记录为待测功能点。The code file of the current version is compared with the code file of the previous version, and if they are different, the function point corresponding to the code file of the current version is recorded as the function point to be tested.

在一个实施例中,计算机可读指令被处理器执行时还执行以下步骤:In one embodiment, when the computer readable instructions are executed by the processor, the following steps are also performed:

若功能点未发生变化,对应的存储路径发生变化,根据发生变化的存储路获取对应的代码文件;If the function point does not change, the corresponding storage path changes, and the corresponding code file is obtained according to the changed storage path;

若功能点发生变化,对应的存储路径未发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件;If the function point changes, the corresponding storage path does not change, and the corresponding code file is obtained according to the storage path corresponding to the changed function point;

若功能点发生变化,且对应的存储路径发生变化,根据发生变化的功能点所对应的存储路径获取对应的代码文件。If the function point changes and the corresponding storage path changes, the corresponding code file is obtained according to the storage path corresponding to the changed function point.

在一个实施例中,计算机可读指令被处理器执行时还执行以下步骤:In one embodiment, when the computer readable instructions are executed by the processor, the following steps are also performed:

接收第一测试终端发送的当前版本测试范围的查询请求;receiving a query request for the test scope of the current version sent by the first test terminal;

根据查询请求获取当前版本的多个待测功能点所对应的测试用例;Obtain test cases corresponding to multiple function points to be tested in the current version according to the query request;

对多个测试用例进行左右值编号,将编号后的测试用例返回至第一测试终端进行展示。Number the left and right values of the multiple test cases, and return the numbered test cases to the first test terminal for display.

在一个实施例中,计算机可读指令被处理器执行时还执行以下步骤:In one embodiment, when the computer readable instructions are executed by the processor, the following steps are also performed:

接收第一测试终端通过第二应用程序发送的登录请求;receiving a login request sent by the first test terminal through the second application program;

根据登录请求向第一测试终端返回对应的上传页面;以使得第一测试终端显示上传页面;第一测试终端还通过第一应用程序根据测试范围对待测应用程序进行测试,生成测试结果文件,测试结果文件包括第一标识;Return the corresponding upload page to the first test terminal according to the login request; so that the first test terminal displays the upload page; the first test terminal also tests the application program to be tested according to the test scope by the first application program, generates a test result file, and tests the resulting file includes a first identification;

接收第二测试终端上传的测试结果文件对应的描述信息,利用描述信息生成二维码,二维码中携带了第二标识;receiving the description information corresponding to the test result file uploaded by the second test terminal, and generating a two-dimensional code by using the description information, and the two-dimensional code carries the second identification;

将携带二维码的上传页面返回至第二测试终端,以使得第一测试终端扫描二维码,识别二维码中的第二标识,将第二标识与测试结果文件的第一标识进行关联;Return the upload page carrying the two-dimensional code to the second test terminal, so that the first test terminal scans the two-dimensional code, recognizes the second mark in the two-dimensional code, and associates the second mark with the first mark of the test result file ;

接收第二测试终端上传的关联后的测试结果文件;receiving the associated test result file uploaded by the second test terminal;

根据第二标识获取对应的存储路径,将接收的测试结果文件按照存储路径进行存储。The corresponding storage path is obtained according to the second identification, and the received test result file is stored according to the storage path.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing related hardware through computer-readable instructions, and the computer-readable instructions can be stored in a non-volatile computer In the readable storage medium, the computer-readable instructions may include the processes of the embodiments of the above-mentioned methods when executed. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) and the like.

以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The various technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the various technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (10)

1. a kind of Application testing range determining method, including:
Obtain the first mapped file corresponding to application program current version to be measured;First mapped file includes current version Function point, store path and corresponding test case;
Obtain the second mapped file corresponding to application program last revision to be measured;Second mapped file includes last revision Function point, store path and corresponding test case;
By first mapped file compared with second mapped file, the function point and/or hair that are changed The store path for changing;
Function point to be measured is identified using the function point to change and/or the store path to change;
Using test case corresponding to first mapped file acquisition function point to be measured, the test case is recorded as Test scope corresponding to current version.
2. according to the method for claim 1, it is characterised in that the function point to be changed described in the utilization and/or institute The step of store path to change identifies function point to be measured is stated, including:
Utilize code file corresponding to the function point to change and/or the store path acquisition to change;Institute Stating code file includes the code file of current version and the code file of last revision;
The code file of the code file of the current version and the last revision is compared, if it is different, then by described in Function point corresponding to the code file of current version is recorded as function point to be measured.
3. according to the method for claim 2, it is characterised in that the function point to be changed described in the utilization and/or institute The step of stating code file corresponding to the store path acquisition to change, including:
If function point does not change, corresponding store path changes, according to corresponding to obtaining the storage road to change Code file;
If function point changes, corresponding store path does not change, depositing according to corresponding to the function point to change Store up code file corresponding to the acquisition of path;
If function point changes, and corresponding store path changes, depositing according to corresponding to the function point to change Store up code file corresponding to the acquisition of path.
4. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the inquiry request for the current version test scope that the first test terminal is sent by the first application program;
The test case corresponding to multiple function points to be measured that current version is obtained according to the inquiry request;
Multiple test cases are carried out with left and right value numbering, the test case after numbering is back into the first test terminal is carried out Displaying.
5. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the logging request that the first test terminal is sent by the second application program;
The page is uploaded according to corresponding to the logging request to the first test terminal return;To cause the first test terminal to show institute State the upload page;The first test terminal is also entered by the first application program according to the test scope to application program to be measured Row test, generates test result file, and the test result file includes the first mark;
Description information corresponding to receiving the test result file that the second test terminal uploads, two dimension is generated using the description information Yard, carry the second mark in the Quick Response Code;
The upload page for carrying the Quick Response Code is back to the second test terminal, to cause two described in the first test terminal scanning Code is tieed up, identifies the second mark in Quick Response Code, the first mark of the described second mark and test result file is associated;
Receive the test result file after the association that the second test terminal uploads;
The store path according to corresponding to obtaining the second mark, the test result file of reception is deposited according to the store path Storage.
6. a kind of Application testing scope determines system, it is characterised in that the system includes:
First test terminal, for sending the inquiry request of current version test scope;
Server, for the first mapped file according to corresponding to inquiry request acquisition current version;The first mapping text Part includes function point, store path and the corresponding test case of current version;Obtain the corresponding to application program last revision Two mapped files;Second mapped file includes function point, store path and the corresponding test case of last revision;By institute The first mapped file is stated compared with second mapped file, the function point to be changed and/or changed Store path;Function point to be measured is identified using the function point to change and/or the store path to change;Profit The test case corresponding to first mapped file acquisition function point to be measured, current version is recorded as by the test case Test scope corresponding to this;
The first test terminal is additionally operable to test scope corresponding to the current version of the reception server return.
7. system according to claim 6, it is characterised in that the server is additionally operable to utilize the work(to change Code file corresponding to energy point and/or the store path acquisition to change;The code file includes current version The code file of code file and last revision;By the code file of the current version and the code file of the last revision It is compared, if it is different, function point corresponding to the code file of the current version then is recorded as into function point to be measured.
8. system according to claim 7, it is characterised in that do not changed if the server is additionally operable to function point, Corresponding store path changes, the code file according to corresponding to obtaining the storage road to change;If function point becomes Change, corresponding store path does not change, generation corresponding to the store path acquisition according to corresponding to the function point to change Code file;If function point changes, and corresponding store path changes, according to corresponding to the function point to change Code file corresponding to store path acquisition.
9. a kind of server, including memory and processor, computer-readable instruction, the instruction are stored in the memory During by the computing device so that in the computing device claim 1-5 the step of any one methods described.
10. one or more is stored with the computer-readable non-volatile memory medium of computer-readable instruction, computer-readable When instruction is executed by one or more processors so that one or more processors perform claim requires any one institute in 1-5 The step of stating method.
CN201710618076.4A 2017-07-26 2017-07-26 Application test scoping method, system, server and storage medium Expired - Fee Related CN107729227B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710618076.4A CN107729227B (en) 2017-07-26 2017-07-26 Application test scoping method, system, server and storage medium
PCT/CN2018/078321 WO2019019647A1 (en) 2017-07-26 2018-03-07 Method and system for determining application program testing range, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710618076.4A CN107729227B (en) 2017-07-26 2017-07-26 Application test scoping method, system, server and storage medium

Publications (2)

Publication Number Publication Date
CN107729227A true CN107729227A (en) 2018-02-23
CN107729227B CN107729227B (en) 2020-03-06

Family

ID=61201724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710618076.4A Expired - Fee Related CN107729227B (en) 2017-07-26 2017-07-26 Application test scoping method, system, server and storage medium

Country Status (2)

Country Link
CN (1) CN107729227B (en)
WO (1) WO2019019647A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804134A (en) * 2018-06-20 2018-11-13 上海哔哩哔哩科技有限公司 Software version management method, device, system based on product feature and medium
CN109271201A (en) * 2018-09-27 2019-01-25 华东师范大学 A kind of software pricing system of intelligent function point identification
WO2019019647A1 (en) * 2017-07-26 2019-01-31 深圳壹账通智能科技有限公司 Method and system for determining application program testing range, server and storage medium
CN109542779A (en) * 2018-11-12 2019-03-29 泰康保险集团股份有限公司 Test method, device and storage medium
CN110162467A (en) * 2019-04-23 2019-08-23 平安科技(深圳)有限公司 Method for testing software, device, computer equipment and readable storage medium storing program for executing
CN110245081A (en) * 2019-05-31 2019-09-17 厦门美柚信息科技有限公司 Generate the method and device of minimum test scope
CN110392095A (en) * 2019-06-19 2019-10-29 深圳壹账通智能科技有限公司 Method for uploading, device, server and the storage medium of installation package file
CN111209206A (en) * 2020-01-13 2020-05-29 卡斯柯信号(北京)有限公司 A method and system for automatic testing of software products
CN111881051A (en) * 2020-08-03 2020-11-03 Oppo广东移动通信有限公司 Test case generation method and device, terminal and storage medium
CN114201384A (en) * 2021-11-18 2022-03-18 北京三快在线科技有限公司 Test method, test device, electronic equipment and storage medium
US20240411897A1 (en) * 2023-06-12 2024-12-12 Endor Labs Inc Identifying and addressing potential vulnerabilities in third-party code

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448862B (en) * 2021-07-12 2022-08-02 上海哔哩哔哩科技有限公司 Software version testing method and device and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286119A (en) * 2008-05-27 2008-10-15 华耀环宇科技(北京)有限公司 Method for determining function point changing through code analysis
CN101719095A (en) * 2009-12-30 2010-06-02 北京世纪高通科技有限公司 Method and device for managing regression testing
CN103309801A (en) * 2012-03-15 2013-09-18 百度在线网络技术(北京)有限公司 Method and device for determining regression testing range
US20140053134A1 (en) * 2012-08-16 2014-02-20 Fujitsu Limited Software regression testing using symbolic execution
CN103678097A (en) * 2012-09-05 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for selecting regression test case
CN103699488A (en) * 2013-12-30 2014-04-02 优视科技有限公司 Call relation dependence graph based regression testing method and system
CN103955429A (en) * 2014-05-16 2014-07-30 北京金山网络科技有限公司 Method and device for determining regression testing range

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186456B (en) * 2011-12-29 2015-11-18 北京新媒传信科技有限公司 A kind of method and apparatus of system testing
CN103198010B (en) * 2012-01-06 2017-07-21 腾讯科技(深圳)有限公司 Method for testing software, apparatus and system
CN102831057B (en) * 2012-08-13 2015-02-11 于秀山 Method for analyzing software function change and influence thereof by using function diagram
CN107729227B (en) * 2017-07-26 2020-03-06 深圳壹账通智能科技有限公司 Application test scoping method, system, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101286119A (en) * 2008-05-27 2008-10-15 华耀环宇科技(北京)有限公司 Method for determining function point changing through code analysis
CN101719095A (en) * 2009-12-30 2010-06-02 北京世纪高通科技有限公司 Method and device for managing regression testing
CN103309801A (en) * 2012-03-15 2013-09-18 百度在线网络技术(北京)有限公司 Method and device for determining regression testing range
US20140053134A1 (en) * 2012-08-16 2014-02-20 Fujitsu Limited Software regression testing using symbolic execution
CN103678097A (en) * 2012-09-05 2014-03-26 百度在线网络技术(北京)有限公司 Method and device for selecting regression test case
CN103699488A (en) * 2013-12-30 2014-04-02 优视科技有限公司 Call relation dependence graph based regression testing method and system
CN103955429A (en) * 2014-05-16 2014-07-30 北京金山网络科技有限公司 Method and device for determining regression testing range

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019019647A1 (en) * 2017-07-26 2019-01-31 深圳壹账通智能科技有限公司 Method and system for determining application program testing range, server and storage medium
CN108804134A (en) * 2018-06-20 2018-11-13 上海哔哩哔哩科技有限公司 Software version management method, device, system based on product feature and medium
CN109271201A (en) * 2018-09-27 2019-01-25 华东师范大学 A kind of software pricing system of intelligent function point identification
CN109542779A (en) * 2018-11-12 2019-03-29 泰康保险集团股份有限公司 Test method, device and storage medium
CN110162467B (en) * 2019-04-23 2023-12-19 平安科技(深圳)有限公司 Software testing method, device, computer equipment and readable storage medium
CN110162467A (en) * 2019-04-23 2019-08-23 平安科技(深圳)有限公司 Method for testing software, device, computer equipment and readable storage medium storing program for executing
CN110245081A (en) * 2019-05-31 2019-09-17 厦门美柚信息科技有限公司 Generate the method and device of minimum test scope
CN110392095A (en) * 2019-06-19 2019-10-29 深圳壹账通智能科技有限公司 Method for uploading, device, server and the storage medium of installation package file
CN111209206A (en) * 2020-01-13 2020-05-29 卡斯柯信号(北京)有限公司 A method and system for automatic testing of software products
CN111209206B (en) * 2020-01-13 2024-05-24 卡斯柯信号(北京)有限公司 Automatic test method and system for software products
CN111881051A (en) * 2020-08-03 2020-11-03 Oppo广东移动通信有限公司 Test case generation method and device, terminal and storage medium
CN114201384A (en) * 2021-11-18 2022-03-18 北京三快在线科技有限公司 Test method, test device, electronic equipment and storage medium
US20240411897A1 (en) * 2023-06-12 2024-12-12 Endor Labs Inc Identifying and addressing potential vulnerabilities in third-party code
US12189788B2 (en) * 2023-06-12 2025-01-07 Endor Labs Inc Identifying and addressing potential vulnerabilities in third-party code

Also Published As

Publication number Publication date
WO2019019647A1 (en) 2019-01-31
CN107729227B (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN107729227B (en) Application test scoping method, system, server and storage medium
US10387292B2 (en) Determining application test results using screenshot metadata
US10565097B2 (en) Orchestrating and providing a regression test
CN107896244B (en) Version file distribution method, client and server
CN110874318B (en) Software testing method and device and computer readable storage medium
CN107832231A (en) A kind of system detection method, device and medium
US8311794B2 (en) Testing executable logic
CN106557419B (en) Program testing method and device
CN113127357B (en) Unit test method, apparatus, device, storage medium, and program product
CN112069073A (en) Test case management method, terminal and storage medium
CN111666201A (en) Regression testing method, device, medium and electronic equipment
CN110888804B (en) Interface test method and interface test platform
CN111966590A (en) Service testing method, device and system
US20150143346A1 (en) Constructing test-centric model of application
CN104166541B (en) Method and apparatus for updating tested widget library
CN115794641A (en) Method, device and equipment for making number based on business process and storage medium
CN113641628B (en) Data quality detection method, device, equipment and storage medium
CN114238085A (en) Interface testing method and device, computer equipment and storage medium
US20150347402A1 (en) System and method for enabling a client system to generate file system operations on a file system data set using a virtual namespace
CN116401113B (en) Environment verification method, device and medium for accelerator card with heterogeneous many-core architecture
CN111966847A (en) Report regression testing method, device and system
CN114391136A (en) Enhanced virtual machine image management system
KR20170044320A (en) Method of analyzing application objects based on distributed computing, method of providing item executable by computer, server performing the same and storage media storing the same
CN114756363A (en) Resource allocation detection method and device
CN115629979A (en) UI automation test method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180529

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 200000 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level.

Applicant before: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

TA01 Transfer of patent application right
CB02 Change of applicant information

Address after: 518000 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant after: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: ONECONNECT FINANCIAL TECHNOLOGY Co.,Ltd. (SHANGHAI)

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200306

CF01 Termination of patent right due to non-payment of annual fee