WO2020215693A1 - 软件测试方法、装置、计算机设备和可读存储介质 - Google Patents

软件测试方法、装置、计算机设备和可读存储介质 Download PDF

Info

Publication number
WO2020215693A1
WO2020215693A1 PCT/CN2019/118179 CN2019118179W WO2020215693A1 WO 2020215693 A1 WO2020215693 A1 WO 2020215693A1 CN 2019118179 W CN2019118179 W CN 2019118179W WO 2020215693 A1 WO2020215693 A1 WO 2020215693A1
Authority
WO
WIPO (PCT)
Prior art keywords
characteristic information
operating parameter
tested
function point
function
Prior art date
Application number
PCT/CN2019/118179
Other languages
English (en)
French (fr)
Inventor
吴锐
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020215693A1 publication Critical patent/WO2020215693A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Definitions

  • This application relates to the field of computer technology, in particular to a software testing method, device, computer equipment and readable storage medium.
  • boundary value analysis is to use the boundary value data of the function point to be tested as the test data
  • equivalence division method is to select The more representative data among the function points to be tested are used as test data.
  • the purpose of this application is to provide a software testing method, device, computer equipment, and readable storage medium, which can reduce the cost of post-test modification.
  • a software testing method includes:
  • a test configuration file is generated according to the optimized operating parameters, and the function point to be tested is tested according to the test configuration file.
  • a software testing device includes:
  • Function point acquisition module used to acquire the tested function points and the function points to be tested of the software to be tested
  • An associated function point acquisition module which is used to find a function point associated with the function point to be tested from the measured function point as an associated function point;
  • the operating parameter acquisition module is configured to acquire the first operating parameter of the associated function point and the second operating parameter of the function point to be tested;
  • the optimization module is configured to optimize the second operating parameter according to the first operating parameter to obtain the optimized operating parameter
  • the test module is used to generate a test configuration file according to the optimized operating parameters, and test the function points to be tested according to the test configuration file.
  • a computer device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
  • a test configuration file is generated according to the optimized operating parameters, and the function point to be tested is tested according to the test configuration file.
  • a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:
  • a test configuration file is generated according to the optimized operating parameters, and the function point to be tested is tested according to the test configuration file.
  • the above-mentioned software testing method, device, computer equipment and readable storage medium obtain the tested function points and the function points to be tested of the software to be tested; find the function points associated with the function points to be tested from the tested function points As an associated function point, the second operating parameter of the function point to be tested is optimized according to the first operating parameter of the associated function point to obtain the optimized operating parameter, and then the test is performed according to the optimized operating parameter.
  • the operating parameters of the function points to be tested can be optimized in advance according to the operating parameters of the associated tested function points, so as to reduce the modification cost in the later stage of the test.
  • Figure 1 is an internal structure diagram of a computer device in an embodiment
  • Figure 2 is a schematic flowchart of a software testing method in an embodiment
  • Figure 3 is a schematic flowchart of a software testing method in another embodiment
  • Fig. 4 is a structural block diagram of a software testing device in an embodiment.
  • the software testing method provided in this application can be applied to a computer device as shown in FIG. 1, and the computer device can be a server.
  • the computer equipment includes a processor, a memory, a network interface and a database connected by a device bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating device, a computer program, and a database.
  • the internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium.
  • the database of the computer equipment is used to store data related to software testing.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize a software testing method.
  • the server obtains the tested function points and the function points to be tested of the software to be tested; the server searches for the function points associated with the function points to be tested from the tested function points as the associated function points; the server obtains the first of the associated function points 1. Operating parameters and obtaining the second operating parameters of the function point to be tested; the server optimizes the second operating parameters according to the first operating parameters to obtain the optimized operating parameters; the server generates the test configuration file according to the optimized operating parameters, and according to the test configuration file Test the function points to be tested.
  • server used herein can be implemented by an independent server or a server cluster composed of multiple servers.
  • the software testing method in the embodiment of this application is particularly suitable for software testing scenarios.
  • FIG. 2 is a flowchart of a software testing method in an embodiment, which may include the following steps:
  • Step S101 Obtain the tested function points and the function points to be tested of the software to be tested.
  • the tested function points of the software to be tested are the function points that the software has been put into normal use, and the functions to be tested Points are new functional points currently developed.
  • Step S102 searching for a function point associated with the function point to be tested from the tested function point as an associated function point.
  • the first characteristic information associated with the second characteristic information of the function point to be tested can be obtained to determine The tested function point associated with the function point to be tested.
  • the characteristic information includes the operating environment information of the function point.
  • the characteristic information of the function point of the communication software includes information such as operating system, display device, audio output, and audio input.
  • the communication software has the communication function of text information transmission and attachment information transmission.
  • the communication function of voice transmission When the communication function of voice transmission is newly added, it needs to consider whether the function points of text information transmission and attachment information transmission will have the function of voice transmission. Some points cause impacts, such as whether the receiving end of the voice message will be affected by the network environment or the insufficient configuration of the running hardware devices.
  • searching for the function points associated with the function points to be tested from the function points to be tested may include:
  • Step S210 Obtain the first characteristic information of the tested function point of the software to be tested and the second characteristic information of the tested function point;
  • Step S220 searching for the characteristic information associated with the second characteristic information from the first characteristic information as the associated characteristic information
  • Step S230 Query the associated function points corresponding to the associated characteristic information in the measured function points.
  • the above software testing method compares the first characteristic information of the tested function point with the second characteristic information of the function point to be tested, and finds the first characteristic information of the function point to be tested and the second characteristic information of the function point to be tested Information is associated with characteristic information, thereby determining the tested function points associated with the function points to be tested, and determining the associated function points of the tested function points that may affect the function points to be tested, which can reduce the modification cost of the later test.
  • Step S103 Obtain the first operating parameter of the associated function point and obtain the second operating parameter of the function point to be tested.
  • the server can pre-store the operating parameters of multiple function points, and input the function point identifier to the server to query the operating parameters corresponding to the input function point identifier.
  • the associated function points and the function points to be tested can also be input to the terminal, and the terminal queries the received operating parameters of the associated function points and the function points to be tested, and returns the queried parameters to the server.
  • Step S104 optimizing the second operating parameter according to the first operating parameter to obtain the optimized operating parameter.
  • the first operating parameter of the associated function point may affect the second operating parameter of the function point to be tested, it is necessary to optimize the second operating parameter according to the first operating parameter to avoid the correlation of the function point to the function point to be tested. Impact, thereby reducing the cost of modification for later testing.
  • the operating parameter is the operating interface
  • optimizing the second operating parameter according to the first operating parameter to obtain the optimized operating parameter may include:
  • a variety of candidate operating parameters of the function point to be tested are pre-stored in the server.
  • the first operating parameter and the second operating parameter are found to match, that is, the first operating parameter of the associated function point may be the function to be tested.
  • the second operating parameter of the point affects, select a candidate operating parameter as the new second operating parameter, and match the new second operating parameter with the first operating parameter.
  • the new second operating parameter matches the first operating parameter
  • another candidate operating parameter is selected from the pre-stored multiple candidate operating parameters as the new second operating parameter, and it is repeatedly matched with the first operating parameter until the selected candidate operating parameter and the first One operating parameter does not match, indicating that the first operating parameter of the associated function point will not affect the function point to be tested at this time, and the candidate operating parameter selected at this time will be used as the final second operating parameter.
  • optimizing the second operating parameter according to the first operating parameter in step S104 to obtain the optimized operating parameter may further include:
  • the server directly sends the first operating parameter and the second operating parameter to the user terminal, which is judged and optimized by the debugger, and the server receives the optimized operating parameter returned by the user terminal .
  • Step S105 Generate a test configuration file according to the optimized operating parameters, and test the function points to be tested according to the test configuration file.
  • a test configuration file is generated according to the optimized operating parameters, a corresponding software test platform is constructed according to the test configuration file, and the function point to be tested is tested using the constructed software test platform.
  • the above-mentioned software testing method, device, computer equipment and readable storage medium obtain the tested function points and the function points to be tested of the software to be tested; the second characteristic information of the function points to be tested and the first function point of the tested function points Characteristic information, find the function point associated with the function point to be tested from the tested function point as an associated function point; optimize the second operating parameter of the function point to be tested according to the first operating parameter of the associated function point , Obtain the optimized operating parameters, and then test according to the optimized operating parameters.
  • the operating parameters of the function points to be tested can be optimized in advance according to the operating parameters of the associated tested function points, so as to reduce the modification cost in the later stage of the test.
  • the first characteristic information is searched for the characteristic information associated with the second characteristic information.
  • the associated characteristic information there may be multiple implementation methods. Further explanation.
  • searching for the characteristic information associated with the second characteristic information from the first characteristic information, as the associated characteristic information may include:
  • A1 split the second characteristic information to obtain multiple characteristic keywords
  • A3 When the correlation coefficient is greater than a preset threshold, use the corresponding first characteristic information as the correlation characteristic information.
  • training samples are used to train the pre-stored learning model to obtain the preset model, and the characteristic keywords and first characteristic information are input into the preset model to obtain the correlation coefficient between the characteristic keywords and the first characteristic information , Judging the correlation between the first characteristic information and the second characteristic information according to the correlation coefficient, so as to find the characteristic information associated with the second characteristic information from the first characteristic information as the associated characteristic information.
  • searching for the characteristic information associated with the second characteristic information from the first characteristic information, as the associated characteristic information may include:
  • the first characteristic information and the second characteristic information are sent to the user terminal, and the user determines the correlation between the first characteristic information and the second characteristic information, and then receives the first characteristic information returned by the user terminal. Information about the associated characteristics.
  • searching for the characteristic information associated with the second characteristic information from the first characteristic information, as the associated characteristic information may further include:
  • first narrow the scope of the first characteristic information through the preset model then combine the pending association characteristic information with the second characteristic information.
  • the characteristic information is sent to the user terminal, and the user determines the correlation between the pending association characteristic information and the second characteristic information, and then receives the association characteristic information in the pending association characteristic information returned by the user terminal.
  • FIG. 4 is a schematic structural diagram of a software testing device in an embodiment.
  • This embodiment provides a software testing device that includes a function point acquisition module 401, an associated function point acquisition module 402, and an operating parameter acquisition module 403. , Optimization module 404 and test module 405, where:
  • the function point acquisition module 401 is used to acquire the tested function points and the function points to be tested of the software to be tested;
  • the associated function point acquisition module 402 is configured to find a function point associated with the function point to be tested from the measured function point, as the associated function point;
  • the operating parameter acquisition module 403 is configured to acquire the first operating parameter of the associated function point and the second operating parameter of the function point to be tested;
  • the optimization module 404 is configured to optimize the second operating parameter according to the first operating parameter to obtain the optimized operating parameter
  • the test module 405 is configured to generate a test configuration file according to the optimized operating parameters, and test the function points to be tested according to the test configuration file.
  • each module in the above-mentioned software testing device can be implemented in whole or in part by software, hardware, and combinations thereof.
  • the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
  • a server is provided.
  • the server can be implemented by computer equipment, and its internal structure diagram can be as shown in FIG. 1.
  • the computer equipment includes a processor, a memory, a network interface and a database connected by a device bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating device, a computer program, and a database.
  • the internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium.
  • the database of the computer equipment is used to store data related to software testing.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to realize a software testing method.
  • FIG. 1 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and a processor, and a computer program is stored in the memory.
  • the processor executes the computer program, the following steps are implemented: Obtain the tested function points and the function to be tested of the software to be tested Point; from the tested function points to find the function point associated with the function point to be tested, as the associated function point; obtain the first operating parameter of the associated function point, and obtain the function point to be tested The second operating parameter; the second operating parameter is optimized according to the first operating parameter to obtain the optimized operating parameter; the test configuration file is generated according to the optimized operating parameter, and the test configuration file is performed on the test configuration file Function points are tested.
  • the search for the function point associated with the function point to be tested from the tested function point, as the associated function point includes: acquiring the function point of the software to be tested The first characteristic information of the function point to be tested and the second characteristic information of the function point to be tested; the characteristic information associated with the second characteristic information is searched from the first characteristic information as the associated characteristic information; Query the associated function points corresponding to the associated characteristic information in the measured function points.
  • the searching for the characteristic information associated with the second characteristic information from the first characteristic information as the associated characteristic information includes: adding the second characteristic Information splitting to obtain multiple characteristic keywords; using a preset model to obtain the correlation coefficient between the characteristic keywords and the first characteristic information; when the correlation coefficient is greater than a preset threshold, the corresponding first A feature information is used as the associated feature information.
  • the searching for the characteristic information associated with the second characteristic information from the first characteristic information as the associated characteristic information includes: combining the first characteristic information Information and the second characteristic information are sent to the user terminal; the associated characteristic information returned by the user terminal is received; wherein the associated characteristic information is selected from the first characteristic information according to the second characteristic information get.
  • the searching for the characteristic information associated with the second characteristic information from the first characteristic information as the associated characteristic information includes: adding the second characteristic information Information splitting to obtain multiple characteristic keywords; using a preset model to obtain the correlation coefficient between the characteristic keywords and the first characteristic information; when the correlation coefficient is greater than a preset threshold, the corresponding first 2.
  • the characteristic information is used as the pending association characteristic information; the pending association characteristic information and the second characteristic information are sent to the user terminal; the association characteristic information returned by the user terminal is received; wherein the association characteristic information is based on The second characteristic information is obtained from the pending association characteristic information.
  • optimizing the second operating parameter according to the first operating parameter to obtain the optimized operating parameter includes: combining the first operating parameter with the first operating parameter The second operating parameter is matched; when the first operating parameter matches the second operating parameter, query the pre-stored candidate operating parameter corresponding to the function point to be tested; when the candidate operating parameter matches the first operating parameter When an operating parameter does not match, the candidate operating parameter is used as the optimized operating parameter.
  • optimizing the second operating parameter according to the first operating parameter to obtain the optimized operating parameter includes: combining the first operating parameter with the first operating parameter 2.
  • the operating parameter is sent to the user terminal; the optimized operating parameter returned by the user terminal is received; wherein the optimized operating parameter is obtained according to the first operating parameter and the second operating parameter.
  • a computer-readable storage medium may be a non-volatile storage medium or a volatile storage medium, on which a computer program is stored, and when the computer program is executed by a processor The following steps are implemented: obtain the tested function points and the function points to be tested of the software to be tested; find the function points associated with the function points to be tested from the tested function points as the associated function points; obtain the association The first operating parameter of the function point, and the second operating parameter of the function point to be tested; the second operating parameter is optimized according to the first operating parameter to obtain the optimized operating parameter; according to the optimized operating parameter A test configuration file is generated, and the function point to be tested is tested according to the test configuration file.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种软件测试方法,该方法包括:获取待测软件的已测功能点和待测功能点(S101);从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点(S102);获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数(S103);根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数(S104);根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试(S105)。该软件测试方法可以降低测试后期修改成本。

Description

软件测试方法、装置、计算机设备和可读存储介质
本申请要求于2019年4月23日提交中国专利局、申请号为201910330137.6,发明名称为“软件测试方法、装置、计算机设备和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种软件测试方法、装置、计算机设备和可读存储介质。
背景技术
随着计算机技术的不断发展,各种软件程序的开发量日益增长。在软件产品的开发过程中,当软件开发出新功能时,需要在新功能投入使用之前对软件进行测试,以保证软件的功能使用正常。
目前针对软件的某个功能点测试分析时,通常采用边界值分析法或者等价类划分等方法;边界值分析法是采用待测功能点的边界值数据作为测试数据,等价划分法是选取待测功能点中比较具有代表性的数据作为测试数据。本申请的发明人在研究中发现,现有的这两种测试方法都只考虑了需要测试的功能点,对于相关联的功能点的影响考虑不够,导致测试后期修改成本高。
发明内容
本申请的目的在于提供一种软件测试方法、装置、计算机设备和可读存储介质,能够降低测试后期修改成本。
本申请的目的通过如下技术方案实现:
一种软件测试方法,所述方法包括:
获取待测软件的已测功能点和待测功能点;
从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
一种软件测试装置,所述装置包括:
功能点获取模块,用于获取待测软件的已测功能点和待测功能点;
关联功能点获取模块,用于从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
运行参数获取模块,用于获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
优化模块,用于根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
测试模块,用于根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现如下步骤:
获取待测软件的已测功能点和待测功能点;
从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:
获取待测软件的已测功能点和待测功能点;
从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
上述的软件测试方法、装置、计算机设备和可读存储介质,通过获取待测软件的已测功能点和待测功能点;从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点,根据关联功能点的第一运行参数对待测功能点的第二运行参数进行优化,得到优化运行参数,然后根据所述优化运行参数进行测试。可以根据相关联的已测功能点的运行参数预先对待测功能点的运行参数进行优化,降低测试后期修改成本。
本申请附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1为一个实施例中计算机设备的内部结构图;
图2为一个实施例中软件测试方法的流程示意图;
图3为另一个实施例中软件测试方法的流程示意图;
图4为一个实施例中软件测试装置的结构框图。
具体实施方式
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。
本申请提供的软件测试方法,可以应用于如图1所示的计算机设备中,该计算机设备可以是服务器。该计算机设备包括通过装置总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作装置、计算机程序和数据库。该内存储器为非易失性存储介质中的操作装置和计算机程序的运行提供环境。该计算机设备的数据库用于存储软件测试涉及的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种软件测试方法。
具体的,服务器获取待测软件的已测功能点和待测功能点;服务器从已测功能点中查找与待测功能点相关联的功能点,作为关联功能点;服务器获取关联功能点的第一运行参数,以及获取待测功能点的第二运行参数;服务器根据第一运行参数对第二运行参数进行优化,得到优化运行参数;服务器根据优化运行参数生成测试配置文件,并根据测试配置文件对待测功能点进行测试。
本技术领域技术人员可以理解,这里所使用的“服务器”可以用独立的服务器或者是多个服务器组成的服务器集群来实现。
本申请实施例中的软件测试方法,特别适用于软件测试的场景。
在一个实施例中,如图2所示,图2为一个实施例中软件测试方法的流程图,可以包括以下步骤:
步骤S101,获取待测软件的已测功能点和待测功能点。
在软件产品的开发过程中,当软件开发出新功能时,需要在新功能投入使用之前对软件进行测试,待测软件的已测功能点是该软件已经投入正常使用的功能点,待测功能点是当前开发出的新的功能点。
步骤S102,从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点。
本步骤中,可以通过将已测功能点的第一特性信息和待测功能点的第二特性信息进行对比,获取和待测功能点的第二特性信息相关联的第一特性信息,从而确定和待测功能点相关联的已测功能点。
其中,特性信息包括功能点的运行环境信息,例如通信软件的功能点的特性信息包括操作系统、显示设备、音频输出、音频输入等信息。
以通信软件为例,该通信软件具备文字信息传输、附件信息传输的通信功能,当新增加语音传输的通信功能时,需要考虑文字信息传输、附件信息传输这些功能点是否会对语音传输的功能点造成影响,例如语音信息的接收端是否会受到网络环境或者是运行的硬件设备的配置不足等。
在一个实施例中,如图3所示,对于步骤S102从所述已测功能点中查找与所述待测功能点相关联的功能点,可以包括:
步骤S210,获取待测软件的已测功能点的第一特性信息以及所述待测功能点的第二特性信息;
步骤S220,从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息;
步骤S230,在所述已测功能点中查询与所述关联特性信息对应的关联功能点。
上述软件测试方法,通过将已测功能点的第一特性信息和待测功能点的第二特性信息进行对比,查找已测功能点的第一特性信息中,与待测功能点的第二特性信息相关联特性信息,从而确定和待测功能点相关联的已测功能点,确定了已测功能点中可能影响到待测功能点的关联功能点,就可以降低后期测试的修改成本。
步骤S103,获取所述关联功能点的第一运行参数,以及获取所述待 测功能点的第二运行参数。
在本步骤中,以图1中服务器为例,服务器中可以预存有多个功能点的运行参数,输入功能点标识到服务器,即可查询到和输入的功能点标识对应的运行参数。
在另一种实施方式中,还可以输入关联功能点和待测功能点到终端,终端查询接收到的关联功能点和待测功能点的运行参数,并将查询到的参数返回到服务器。
步骤S104,根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数。
由于关联功能点的第一运行参数有可能会影响到待测功能点的第二运行参数,因此,需要根据第一运行参数对第二运行参数进行优化,以避免关联功能点对待测功能点的影响,从而减少后期测试的修改成本。
例如,当运行参数为运行接口时,需要判断关联功能点的运行接口是否和待测功能点的运行接口冲突,如果两者之间的运行接口冲突,就需要对待测功能点的运行接口进行调整。
在一个实施例中,对于步骤S104根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,可以包括:
a1,将所述第一运行参数和所述第二运行参数进行匹配;
a2,当所述第一运行参数和所述第二运行参数相匹配时,查询预存的与所述待测功能点对应的候选运行参数;
a3,当所述候选运行参数和所述第一运行参数不匹配时,将所述候选运行参数作为所述优化运行参数。
在本实施例中,服务器中预存有待测功能点的多种候选运行参数,当发现第一运行参数和第二运行参数相匹配时,即关联功能点的第一运行参数可能会对待测功能点的第二运行参数造成影响时,选取一种候选运行参数作为新的第二运行参数,并将新的第二运行参数和第一运行参数相匹配,当新的第二运行参数和第一运行参数相匹配时,重新从预存的多种候选运行参数中选取另一种候选运行参数,作为新的第二运行参数,并重复和第一运行参数相匹配,直至选取的候选运行参数和第一运行参数不匹 配,说明此时关联功能点的第一运行参数不会影响到待测功能点了,将此时选取的候选运行参数作为最终的第二运行参数。
在另一个实施例中,对于步骤S104根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,还可以包括:
b1,将所述第一运行参数和所述第二运行参数发送到用户终端;
b2,接收所述用户终端返回的所述优化运行参数;其中,所述优化运行参数是根据所述第一运行参数和所述第二运行参数获取。
在本实施例中,以图1中所示服务器为例,服务器直接将第一运行参数和第二运行参数发送到用户终端,由调试人员进行判断并优化,服务器接收用户终端返回的优化运行参数。
步骤S105,根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
在本步骤中,根据优化运行参数生成测试配置文件,根据测试配置文件,构建对应的软件测试平台,利用构建的软件测试平台对待测功能点进行测试。
上述的软件测试方法、装置、计算机设备和可读存储介质,通过获取待测软件的已测功能点和待测功能点;通过待测功能点的第二特性信息和已测功能点的第一特性信息,从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;根据关联功能点的第一运行参数对待测功能点的第二运行参数进行优化,得到优化运行参数,然后根据所述优化运行参数进行测试。可以根据相关联的已测功能点的运行参数预先对待测功能点的运行参数进行优化,降低测试后期修改成本。
以上软件测试方法中,对于步骤S220从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,可以有多种实现方式,下面将对多种实现方式进行进一步说明。
在一个实施例中,对于步骤S220从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,可以包括:
A1,将所述第二特性信息拆分得到多个特性关键词;
A2,采用预设模型获取所述特性关键词和所述第一特性信息之间的相 关系数;
A3,当所述相关系数大于预设阈值时,将对应的所述第一特性信息作为所述关联特性信息。
在本实施例中,采用训练样本对预存的学习模型进行训练,得到预设模型,将特性关键词和第一特性信息输入预设模型,得到特性关键词和第一特性信息之间的相关系数,根据相关系数判断第一特性信息和第二特性信息之间的相关性,从而从第一特性信息中查找与第二特性信息相关联的特性信息,作为关联特性信息。
在另一个实施例中,对于步骤S220从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,可以包括:
B1,将所述第一特性信息和所述第二特性信息发送到用户终端;
B2,接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述第一特性信息中筛选得到。
在本实施例中,将第一特性信息和第二特性信息发送到用户终端,通过用户判断第一特性信息和第二特性信息之间的相关性,然后接收用户终端返回的第一特性信息中的关联特性信息。
在又一个实施例中,对于步骤S220从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,还可以包括:
C1,将所述第二特性信息拆分得到多个特性关键词;采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
C2,当所述相关系数大于预设阈值时,将对应的所述第二特性信息作为待定关联特性信息;
C3,将所述待定关联特性信息和所述第二特性信息发送到用户终端;
C4,接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述待定关联特性信息中获取。
在本实施例中,先将特性关键词和第一特性信息输入预设模型,得到特性关键词和第一特性信息之间的相关系数,根据相关系数判断第一特性信息和第二特性信息之间的相关性,从而从第一特性信息中查找与第二特性信息相关联的待定关联特性信息,也就是先通过预设模型缩小第一特性 信息的范围;然后将待定关联特性信息和第二特性信息发送到用户终端,通过用户判断待定关联特性信息和第二特性信息之间的相关性,然后接收用户终端返回的待定关联特性信息中的关联特性信息。
应该理解的是,虽然图2-3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
如图4所示,图4为一个实施例中软件测试装置的结构示意图,本实施例提供了一种软件测试装置,包括功能点获取模块401、关联功能点获取模块402、运行参数获取模块403、优化模块404和测试模块405,其中:
功能点获取模块401,用于获取待测软件的已测功能点和待测功能点;
关联功能点获取模块402,用于从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
运行参数获取模块403,用于获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
优化模块404,用于根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
测试模块405,用于根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
关于软件测试装置的具体限定可以参见上文中对于软件测试方法的限定,在此不再赘述。上述软件测试装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种服务器,该服务器可以采用计算机设备来实现,其内部结构图可以如图1所示。该计算机设备包括通过装置总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作装置、计算机程序和数据库。该内存储器为非易失性存储介质中的操作装置和计算机程序的运行提供环境。该计算机设备的数据库用于存储软件测试涉及的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种软件测试方法。
本领域技术人员可以理解,图1中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取待测软件的已测功能点和待测功能点;从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
在其中一个实施例中,处理器执行计算机程序时所述从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点,包括:获取待测软件的已测功能点的第一特性信息以及所述待测功能点的第二特性信息;从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息;在所述已测功能点中查询与所述关联特性信息对应的关联功能点。
在其中一个实施例中,处理器执行计算机程序时所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息, 包括:将所述第二特性信息拆分得到多个特性关键词;采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;当所述相关系数大于预设阈值时,将对应的所述第一特性信息作为所述关联特性信息。
在其中一个实施例中,处理器执行计算机程序时所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:将所述第一特性信息和所述第二特性信息发送到用户终端;接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述第一特性信息中筛选得到。
在其中一个实施例中,处理器执行计算机程序时所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:将所述第二特性信息拆分得到多个特性关键词;采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;当所述相关系数大于预设阈值时,将对应的所述第二特性信息作为待定关联特性信息;将所述待定关联特性信息和所述第二特性信息发送到用户终端;接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述待定关联特性信息中获取。
在其中一个实施例中,处理器执行计算机程序时所述根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,包括:将所述第一运行参数和所述第二运行参数进行匹配;当所述第一运行参数和所述第二运行参数相匹配时,查询预存的与所述待测功能点对应的候选运行参数;当所述候选运行参数和所述第一运行参数不匹配时,将所述候选运行参数作为所述优化运行参数。
在其中一个实施例中,处理器执行计算机程序时所述根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,包括:将所述第一运行参数和所述第二运行参数发送到用户终端;接收所述用户终端返回的所述优化运行参数;其中,所述优化运行参数是根据所述第一运行参数和所述第二运行参数获取。
在一个实施例中,提供了一种计算机可读存储介质,该存储介质可以是非易失性存储介质,也可以是易失性存储介质,其上存储有计算机程序, 计算机程序被处理器执行时实现以下步骤:获取待测软件的已测功能点和待测功能点;从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一非易失性计算机可读取存储介质中,也可以存储于一易失性计算机可读存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特性可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特性所有可能的组合都进行描述,然而,只要这些技术特性的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种软件测试方法,所述方法包括:
    获取待测软件的已测功能点和待测功能点;
    从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
    获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
    根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
    根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
  2. 根据权利要求1所述的方法,所述从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点,包括:
    获取待测软件的已测功能点的第一特性信息以及所述待测功能点的第二特性信息;
    从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息;
    在所述已测功能点中查询与所述关联特性信息对应的关联功能点。
  3. 根据权利要求2所述的方法,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第二特性信息拆分得到多个特性关键词;
    采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
    当所述相关系数大于预设阈值时,将对应的所述第一特性信息作为所述关联特性信息。
  4. 根据权利要求2所述的方法,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第一特性信息和所述第二特性信息发送到用户终端;
    接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述第一特性信息中筛选得到。
  5. 根据权利要求2所述的方法,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第二特性信息拆分得到多个特性关键词;采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
    当所述相关系数大于预设阈值时,将对应的所述第二特性信息作为待定关联特性信息;
    将所述待定关联特性信息和所述第二特性信息发送到用户终端;
    接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述待定关联特性信息中获取。
  6. 根据权利要求1所述的方法,所述根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,包括:
    将所述第一运行参数和所述第二运行参数进行匹配;
    当所述第一运行参数和所述第二运行参数相匹配时,查询预存的与所述待测功能点对应的候选运行参数;
    当所述候选运行参数和所述第一运行参数不匹配时,将所述候选运行参数作为所述优化运行参数。
  7. 根据权利要求1所述的方法,所述根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,包括:
    将所述第一运行参数和所述第二运行参数发送到用户终端;
    接收所述用户终端返回的所述优化运行参数;其中,所述优化运行参数是根据所述第一运行参数和所述第二运行参数获取。
  8. 一种软件测试装置,所述装置包括:
    功能点获取模块,用于获取待测软件的已测功能点和待测功能点;
    关联功能点获取模块,用于从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
    运行参数获取模块,用于获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
    优化模块,用于根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
    测试模块,用于根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现软件测试方法的步骤,其中,所述软件测试方法,包括:
    获取待测软件的已测功能点和待测功能点;
    从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
    获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第二运行参数;
    根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
    根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
  10. 根据权利要求9所述的计算机设备,所述从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点,包括:
    获取待测软件的已测功能点的第一特性信息以及所述待测功能点的第二特性信息;
    从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息;
    在所述已测功能点中查询与所述关联特性信息对应的关联功能点。
  11. 根据权利要求10所述的计算机设备,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第二特性信息拆分得到多个特性关键词;
    采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
    当所述相关系数大于预设阈值时,将对应的所述第一特性信息作为所 述关联特性信息。
  12. 根据权利要求10所述的计算机设备,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第一特性信息和所述第二特性信息发送到用户终端;
    接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述第一特性信息中筛选得到。
  13. 根据权利要求10所述的计算机设备,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第二特性信息拆分得到多个特性关键词;采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
    当所述相关系数大于预设阈值时,将对应的所述第二特性信息作为待定关联特性信息;
    将所述待定关联特性信息和所述第二特性信息发送到用户终端;
    接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述待定关联特性信息中获取。
  14. 根据权利要求9所述的计算机设备,所述根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,包括:
    将所述第一运行参数和所述第二运行参数进行匹配;
    当所述第一运行参数和所述第二运行参数相匹配时,查询预存的与所述待测功能点对应的候选运行参数;
    当所述候选运行参数和所述第一运行参数不匹配时,将所述候选运行参数作为所述优化运行参数。
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现软件测试方法的步骤,其中,所述软件测试方法,包括:
    获取待测软件的已测功能点和待测功能点;
    从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点;
    获取所述关联功能点的第一运行参数,以及获取所述待测功能点的第 二运行参数;
    根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数;
    根据所述优化运行参数生成测试配置文件,并根据所述测试配置文件对所述待测功能点进行测试。
  16. 根据权利要求15所述的计算机可读存储介质,所述从所述已测功能点中查找与所述待测功能点相关联的功能点,作为关联功能点,包括:
    获取待测软件的已测功能点的第一特性信息以及所述待测功能点的第二特性信息;
    从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息;
    在所述已测功能点中查询与所述关联特性信息对应的关联功能点。
  17. 根据权利要求16所述的计算机可读存储介质,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第二特性信息拆分得到多个特性关键词;
    采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
    当所述相关系数大于预设阈值时,将对应的所述第一特性信息作为所述关联特性信息。
  18. 根据权利要求16所述的计算机可读存储介质,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第一特性信息和所述第二特性信息发送到用户终端;
    接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述第一特性信息中筛选得到。
  19. 根据权利要求16所述的计算机可读存储介质,所述从所述第一特性信息中查找与所述第二特性信息相关联的特性信息,作为关联特性信息,包括:
    将所述第二特性信息拆分得到多个特性关键词;采用预设模型获取所述特性关键词和所述第一特性信息之间的相关系数;
    当所述相关系数大于预设阈值时,将对应的所述第二特性信息作为待定关联特性信息;
    将所述待定关联特性信息和所述第二特性信息发送到用户终端;
    接收所述用户终端返回的所述关联特性信息;其中,所述关联特性信息是根据所述第二特性信息从所述待定关联特性信息中获取。
  20. 根据权利要求15所述的计算机可读存储介质,所述根据所述第一运行参数对所述第二运行参数进行优化,得到优化运行参数,包括:
    将所述第一运行参数和所述第二运行参数进行匹配;
    当所述第一运行参数和所述第二运行参数相匹配时,查询预存的与所述待测功能点对应的候选运行参数;
    当所述候选运行参数和所述第一运行参数不匹配时,将所述候选运行参数作为所述优化运行参数。
PCT/CN2019/118179 2019-04-23 2019-11-13 软件测试方法、装置、计算机设备和可读存储介质 WO2020215693A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910330137.6 2019-04-23
CN201910330137.6A CN110162467B (zh) 2019-04-23 2019-04-23 软件测试方法、装置、计算机设备和可读存储介质

Publications (1)

Publication Number Publication Date
WO2020215693A1 true WO2020215693A1 (zh) 2020-10-29

Family

ID=67638633

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118179 WO2020215693A1 (zh) 2019-04-23 2019-11-13 软件测试方法、装置、计算机设备和可读存储介质

Country Status (2)

Country Link
CN (1) CN110162467B (zh)
WO (1) WO2020215693A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162467B (zh) * 2019-04-23 2023-12-19 平安科技(深圳)有限公司 软件测试方法、装置、计算机设备和可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080148236A1 (en) * 2006-12-15 2008-06-19 Institute For Information Industry Test device, method, and computer readable medium for deriving a qualified test case plan from a test case database
CN108536576A (zh) * 2017-03-02 2018-09-14 富士通株式会社 用于对应用程序的测试脚本进行优化的方法和装置
CN109032946A (zh) * 2018-07-27 2018-12-18 厦门集微科技有限公司 一种测试方法和装置、计算机可读存储介质
CN109614311A (zh) * 2018-10-23 2019-04-12 深圳壹账通智能科技有限公司 应用程序测试方法及装置、电子设备、存储介质
CN110162467A (zh) * 2019-04-23 2019-08-23 平安科技(深圳)有限公司 软件测试方法、装置、计算机设备和可读存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9734036B2 (en) * 2014-08-13 2017-08-15 International Business Machines Corporation Optimizing a cloud-computing environment
CN108415820B (zh) * 2017-02-09 2021-05-14 腾讯科技(深圳)有限公司 应用安装包的测试方法和装置
CN108733550A (zh) * 2017-04-13 2018-11-02 北京京东尚科信息技术有限公司 一种功能模块的自动化回归测试方法、装置
CN107729227B (zh) * 2017-07-26 2020-03-06 深圳壹账通智能科技有限公司 应用程序测试范围确定方法、系统、服务器和存储介质
CN107832062B (zh) * 2017-09-08 2020-04-21 深圳壹账通智能科技有限公司 一种程序更新方法及终端设备
CN107992409B (zh) * 2017-11-21 2020-08-21 平安养老保险股份有限公司 测试用例生成方法、装置、计算机设备和存储介质
CN108549603A (zh) * 2018-04-11 2018-09-18 平安普惠企业管理有限公司 测试方案生成方法、装置、计算机设备及存储介质
CN109189668A (zh) * 2018-08-03 2019-01-11 深圳市牛鼎丰科技有限公司 接口测试方法、装置、计算机设备及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080148236A1 (en) * 2006-12-15 2008-06-19 Institute For Information Industry Test device, method, and computer readable medium for deriving a qualified test case plan from a test case database
CN108536576A (zh) * 2017-03-02 2018-09-14 富士通株式会社 用于对应用程序的测试脚本进行优化的方法和装置
CN109032946A (zh) * 2018-07-27 2018-12-18 厦门集微科技有限公司 一种测试方法和装置、计算机可读存储介质
CN109614311A (zh) * 2018-10-23 2019-04-12 深圳壹账通智能科技有限公司 应用程序测试方法及装置、电子设备、存储介质
CN110162467A (zh) * 2019-04-23 2019-08-23 平安科技(深圳)有限公司 软件测试方法、装置、计算机设备和可读存储介质

Also Published As

Publication number Publication date
CN110162467A (zh) 2019-08-23
CN110162467B (zh) 2023-12-19

Similar Documents

Publication Publication Date Title
US20200057958A1 (en) Identification and application of hyperparameters for machine learning
CN109992601B (zh) 待办事项信息的推送方法、装置和计算机设备
CN106936441B (zh) 一种数据压缩方法和装置
CN108829584B (zh) 业务逻辑接口mock测试方法及系统
US11403303B2 (en) Method and device for generating ranking model
CN109586948A (zh) 更新系统配置数据的方法、装置、计算机设备和存储介质
WO2020006878A1 (zh) 语音识别测试方法、装置、计算机设备及存储介质
WO2019019647A1 (zh) 应用程序测试范围确定方法、系统、服务器和存储介质
CN112154420A (zh) 自动智能云服务测试工具
WO2018177205A1 (zh) 回归测试方法、装置、计算机设备和存储介质
CN110855477A (zh) 链路日志监控方法、装置、计算机设备和存储介质
CN110019067A (zh) 一种日志分析方法及系统
CN115062016A (zh) 关联关系提取方法、装置和计算机设备
WO2018188222A1 (zh) 一种a2l文件合并方法及装置
WO2020215693A1 (zh) 软件测试方法、装置、计算机设备和可读存储介质
CN113342876B (zh) SaaS环境下多租户CRM系统的数据模糊查询方法及装置
CN114791927A (zh) 一种数据分析方法和装置
CN111506573B (zh) 数据库表分区方法、装置、计算机设备及存储介质
CN117033468A (zh) 数据查询方法、装置、电子设备和计算机可读存储介质
CN107451063B (zh) 一种脚本测试方法及装置
CN112016297B (zh) 意图识别模型测试方法、装置、计算机设备和存储介质
CN112231236A (zh) 一种数据库性能的测试方法
CN111160583A (zh) 一种数据处理方法及装置
CN111291159A (zh) 一种专利检索方法、装置、系统、计算机设备和存储介质
CN106709353B (zh) 搜索引擎的安全性检测方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19926129

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926129

Country of ref document: EP

Kind code of ref document: A1