CN111651358B - Method for generating test case, software test method, device and server - Google Patents
Method for generating test case, software test method, device and server Download PDFInfo
- Publication number
- CN111651358B CN111651358B CN202010509905.7A CN202010509905A CN111651358B CN 111651358 B CN111651358 B CN 111651358B CN 202010509905 A CN202010509905 A CN 202010509905A CN 111651358 B CN111651358 B CN 111651358B
- Authority
- CN
- China
- Prior art keywords
- parameter
- user data
- use case
- case
- test
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 350
- 238000000034 method Methods 0.000 title claims abstract description 110
- 238000013522 software testing Methods 0.000 claims abstract description 39
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
- 230000002354 daily effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
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 provides a method for generating test cases, a software testing method, a device and a server, if the test cases of target software are required to be generated, parameter values of the test cases are determined according to relevant operation data of users of the target software; and generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
Description
Technical Field
The present invention relates to the field of software testing technologies, and in particular, to a method for generating test cases, a software testing method, a device, and a server.
Background
Automated testing is an integral part of the software lifecycle. In each stage of software development, the software can be automatically tested by test cases. The test cases used in the automatic test are mostly obtained by manual writing; and then, automatically selecting a part of test cases from the written test cases based on coverage rate test indexes of the software to be tested, or manually selecting a part of test cases by experience so as to test the software to be tested. Because the test cases are manually written, on one hand, the time and the effort are consumed, and on the other hand, the test cases are difficult to match with the actual application scene of the software, and the test accuracy and the test reliability are low.
Disclosure of Invention
In view of the above, the present invention aims to provide a method, a software testing method, a device and a server for generating test cases, so as to improve the efficiency of generating test cases, and improve the accuracy and reliability of software testing.
In a first aspect, an embodiment of the present invention provides a method for generating a test case, where the method includes: if a test case of the target software needs to be generated, determining a parameter value of the test case according to user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software; generating a configuration file of the test case according to the parameter value; and generating the test case according to the configuration file.
Further, the test case includes at least one case parameter; the step of determining the parameter value of the test case according to the user data of the target software comprises the following steps: if the parameter value of the use case parameter is required to be determined according to the user data, acquiring the user data related to the use case parameter; and determining the parameter value of the use case parameter according to the user data related to the use case parameter.
Further, the use case parameter is provided with an identifier; the identifier is used for indicating: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value; the step of obtaining the user data related to the use case parameters if the parameter values of the use case parameters are determined according to the user data comprises the following steps: and inquiring the identifier of the use case parameter, and if the identifier of the use case parameter indicates that the parameter value of the use case parameter is determined according to the user data, acquiring the user data related to the use case parameter.
Further, the user data is pre-stored in a preset relational database; at least one part of data in the user data is synchronized in a preset cache database; the step of obtaining the user data related to the use case parameter comprises the following steps: acquiring user data related to the use case parameters from the cache database; and if the user data related to the use case parameters cannot be acquired from the cache database, acquiring the user data related to the use case parameters from the relational database through the cache database.
Further, the step of determining the parameter value of the use case parameter according to the user data related to the use case parameter includes: acquiring alternative parameter values of the use case parameters from the user data; and if the alternative parameter values comprise a plurality of types, determining the parameter value of the use case parameter from the plurality of alternative parameter values according to the magnitude of the alternative parameter value.
Further, the step of generating the configuration file of the test case according to the parameter value includes: filling the parameter value into an application parameter corresponding to the parameter value; and generating a configuration file of the test case according to the case parameters and the parameter values corresponding to the case parameters.
Further, after the step of generating the test case according to the configuration file, the method further includes: acquiring updated user data of the target software according to a preset time interval; and updating the test case according to the updated user data.
In a second aspect, an embodiment of the present invention provides a software testing method, where the method includes: if the target software needs to be tested, acquiring a test case of the target software; testing the target software through the test case to obtain a test result; the test case of the target software is generated by the following method: determining the parameter value of the test case according to the user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software; generating a configuration file of the test case according to the parameter value; and generating the test case according to the configuration file.
Further, after the step of testing the target software by the test case, the method further includes: and sending the test result to a designated test result receiving address.
In a third aspect, an embodiment of the present invention provides an apparatus for generating a test case, where the apparatus includes: the first determining module is used for determining parameter values of the test cases according to user data of the target software if the test cases of the target software need to be generated; wherein the user data includes: the user of the target software operates the operation data of the target software; the first generation module is used for generating a configuration file of the test case according to the parameter value; and the second generation module is used for generating the test case according to the configuration file.
In a fourth aspect, an embodiment of the present invention provides a software testing apparatus, including: the acquisition module is used for acquiring a test case of the target software if the target software needs to be tested; the second determining module is used for testing the target software through the test case to obtain a test result; the test case of the target software is generated by the following method: determining the parameter value of the test case according to the user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software; generating a configuration file of the test case according to the parameter value; and generating the test case according to the configuration file.
In a fifth aspect, an embodiment of the present invention provides a server, including a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, where the processor executes the machine executable instructions to implement the method for generating test cases according to any one of the first aspect or the software testing method according to any one of the second aspect.
In a sixth aspect, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method of generating test cases as described in any one of the first aspects, or a software testing method as described in any one of the second aspects.
According to the method, the software testing method, the device and the server for generating the test cases, if the test cases of the target software are required to be generated, the parameter values of the test cases are determined according to the relevant operation data of the users of the target software; and generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are some embodiments of the invention and that other drawings may be obtained from these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for generating test cases according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for generating test cases according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for generating test cases according to an embodiment of the present invention;
FIG. 4 is a flowchart of another method for generating test cases according to an embodiment of the present invention;
FIG. 5 is a flowchart of a software testing method according to an embodiment of the present invention;
FIG. 6 is a flowchart of another software testing method according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a device for generating test cases according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a software testing device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the current software testing industry, an automatic test is an integral part of the life cycle of software, and plays an irreplaceable role in regression testing and continuous integration testing, and software can be automatically tested through test cases in various stages of software development, so that it is very important to select reasonable test cases in a correct way. Most of test cases used in the current automatic test are obtained through manual writing, and currently, the test cases are selected from the written test cases mainly in the following two modes:
Firstly, a part of test cases are manually selected by experience, but the coverage rate cannot be guaranteed in the method, the coverage of all scenes cannot be confirmed, and a large amount of redundancy is generated along with the time; for example, for a product, the product functions are continuously updated, for example, a machine room is newly added with a model a, a test case matched with the model a needs to be configured according to the model a, and over time, if the model a needs to be replaced with a new model B later, a test case matched with the model B needs to be configured according to the model B, and at this time, although the model a is not needed any more, the test case matched with the model a is still reserved, so that redundancy is generated.
Secondly, automatically selecting a part of test cases through coverage rate test indexes of the software to be tested, and verifying fewer test cases based on some strategies, wherein the coverage rate test indexes can be understood as coverage rates aiming at development codes; the above strategy may be based on a modified part, on a risk level or on an operating profile, etc.; although the coverage of the test case selected by the method is quite full, the method has the advantages of larger execution coverage, low execution efficiency and incapability of covering abnormal scenes.
Because the test cases are manually written, on one hand, parameters are required to be manually obtained from config (configuration file) and put into an automatic script, so that the operation is complicated and the intelligence is low; on the other hand, the method is difficult to match with the actual application scene of the software, and the accuracy and reliability of the test are low.
Based on the above, the method, the software testing method, the device and the server for generating the test case provided by the embodiment of the invention can be applied to the application needing to generate the test case or the application needing to test the software to be tested through the test case. For the understanding of the present embodiment, first, a method for generating a test case disclosed in the present embodiment is described in detail, as shown in fig. 1, and the method includes the following steps:
step S102, if a test case of the target software needs to be generated, determining parameter values of the test case according to user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software.
The target software can be understood as a software product requiring functional testing; the above test cases may be understood as descriptions of test tasks performed on a particular software product, which generally include test schemes, methods, techniques or strategies, etc.; when the automatic test is performed on the target software, the test case can be a tool for generating auxiliary manual test by using a Java (an object-oriented programming language) or a python (a cross-platform computer programming language) and other languages through a testng (an open source automatic test framework) and other frameworks; the above parameter values may be understood as specific values related to the test cases, such as the number of concurrent booths, the number of mongdb (a database stored based on distributed files) added with security groups, etc.; the operation data may include the number of mongdbs purchased by the user, the number of times the user performs more matching on the instance, and the like; in actual implementation, if a test case of the target software needs to be generated, parameter values related to the test case may be determined according to related operation data of a user using the target software.
Step S104, generating a configuration file of the test case according to the parameter value.
The configuration file can be understood as a file capable of configuring relevant parameters of the test case; after the parameter value of the test case is determined according to the user data of the target software, a configuration file matched with the test case can be generated according to the parameter value.
Step S106, generating test cases according to the configuration files.
In actual implementation, the configuration file can be read through an automation script, and the test case is generated according to the related data in the read configuration file.
According to the method for generating the test case, provided by the embodiment of the invention, if the test case of the target software needs to be generated, the parameter value of the test case is determined according to the related operation data of the user of the target software; and generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
The embodiment of the invention also provides another method for generating the test case, which is realized on the basis of the method of the embodiment; the method focuses on the specific process of determining the parameter value of the test case according to the user data of the target software, and specifically corresponds to the following steps S202 to S204.
In the method, a test case comprises at least one case parameter; the case parameters can be understood as parameter items that need to be designed for test cases, such as: the quantity of concurrent starts or mongasdb adds the quantity of security groups, etc.; the use case parameters are typically provided with identifiers; the identifier is used to indicate: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value; in actual implementation, parameter values of some case parameters need to be determined according to user data, and then test cases are automatically generated; the determination mode of the parameter values of some use case parameters is flexible, and the parameters can be determined without the need of user data, for example, corresponding appointed values can be manually set; the bootstrapping type value can be used as an identifier to identify the use case parameter, and the bootstrapping type value controls whether the parameter value of the use case parameter needs to be determined according to the user data; the bootie type value may be 0 or 1, and when the test engineer will preset the bootie type values to be 0 and 1, respectively, the corresponding parameter value of the use case parameter may be determined according to user data, for example, when the bootie type value is 1, the parameter value representing the use case parameter may be a manually set specified value, or the like.
The user data are pre-stored in a preset relational database; at least one part of data in the user data is synchronized in a preset cache database; the relational database can be MySQL (wherein SQL English is called Structured Query Language, which represents a structured query language), the cache database can be redis (Remote Dictionary Server, remote dictionary service), and other relational databases or other cache databases can be selected according to requirements; in actual implementation, online user data may be acquired in advance through a tool, and the acquired user data may be stored in a specified relational database, for example, may be stored in a MySQL database.
As shown in fig. 2, the method comprises the steps of:
step S202, if the parameter value of the use case parameter is determined according to the user data, the user data related to the use case parameter is obtained.
The step S202 may specifically include: querying an identifier of the use case parameter, and acquiring user data related to the use case parameter if the identifier of the use case parameter indicates that a parameter value of the use case parameter is determined according to the user data.
In actual implementation, when a test case of the target software needs to be generated, considering that the test case generally comprises at least one case parameter, generally, an identifier corresponding to the case parameter needs to be queried first to confirm a determination mode of a parameter value of the case parameter; for example, if a bootan type value is used as an identifier, and a parameter value representing a use case parameter is preset when the bootan type value is 1, it may be determined according to user data; at this time, if it is queried that the bootie type value is 1, user data related to the use case parameter may be acquired.
Taking into account the difference in the storage locations of the user data, the step of obtaining the user data related to the use case parameters may be specifically implemented by the following steps:
step one, user data related to the use case parameters are obtained from a cache database.
In actual implementation, after the user data is stored in a preset relational database, the relational database generally synchronizes partial data in a cache database, for example, the MySQL database generally synchronizes partial data in a redis database; for some regular operations, if the redis database contains user data required by the regular operations, the user data related to the use case parameters corresponding to the regular operations can be directly obtained from the redis database through an automation script.
And step two, if the user data related to the use case parameters cannot be acquired from the cache database, acquiring the user data related to the use case parameters from the relational database through the cache database.
Because only a part of user data is synchronized in the cache database, for some user data related to the use case parameters, the automation code may not acquire the needed user data from the cache database, but the relational database contains complete user data, at this time, the user data related to the use case parameters can be acquired from the relational database through the automation code, updated into the cache database, and then the user data related to the use case parameters is acquired from the updated cache database; for example, if the required user data cannot be obtained from the redis database, the user data may be obtained from the MySQL database, then updated to the redis database, and then the required user data may be obtained from the updated redis database.
Step S204, according to the user data related to the use case parameter, the parameter value of the use case parameter is determined. Specifically, this step S204 may be implemented by the following steps three to four:
and step three, obtaining alternative parameter values of the use case parameters from the user data.
The above alternative parameter values may be understood as parameter values related to use case parameters, and the user data typically comprises one or more alternative parameter values of the use case parameters; alternative parameter values of the use case parameters can be obtained from a cache database, such as a redis database, by writing an automation code; for example, the case parameter is taken as the concurrent start number to be described, the user concurrent start number in a certain time is obtained, the obtained number value is inserted into the relational database and is synchronized to the cache database, at this time, a plurality of number values of the concurrent start number corresponding to a plurality of different time points in the time period can be obtained from the cache database, the plurality of number values are the candidate parameter values, and in actual implementation, the plurality of number values can be the same data value or different data values.
And step four, if the alternative parameter values comprise a plurality of types, determining the parameter value of the use case parameter from the plurality of types of alternative parameter values according to the magnitude of the alternative parameter values.
The obtained alternative parameter values of the use case parameters can be screened through an automatic code, if the alternative parameter values comprise a plurality of data values with different sizes, the plurality of alternative parameter values can be compared to obtain a comparison result, and the alternative parameter values meeting the requirements are selected from the comparison result as the parameter values of the use case parameters according to the requirements; for example, the use case parameter is still taken as an example of the concurrent start number, and if a plurality of acquired number values of the concurrent start number include a plurality of different data values, the maximum data value corresponding to the concurrent start number can be selected from the obtained number values as the parameter value of the use case parameter; for another example, there are 10 users, each user uses the same target software, if 9 users operate their own instance only once, and the 10 th user operates their own instance 100 times, the obtained instance is 100 times, which can be understood that the data of the same type can be screened according to the size of the data value, and the data value meeting the requirement is selected from the data values, and the data value is generally selected to be the maximum value.
Step S206, generating a configuration file of the test case according to the parameter values.
Step S208, generating test cases according to the configuration files.
The method for generating the test case comprises at least one case parameter; if the parameter value of the use case parameter is required to be determined according to the user data, firstly, acquiring the user data related to the use case parameter; and then determining the parameter value of the use case parameter according to the acquired user data. And finally, generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
The embodiment of the invention also provides another method for generating the test case, which is realized on the basis of the method of the embodiment; the method focuses on describing a specific process of generating a configuration file of the test case according to the parameter value, and specifically corresponds to the following steps S304 to S306. As shown in fig. 3, the method comprises the steps of:
Step S302, if a test case of the target software needs to be generated, determining parameter values of the test case according to user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software.
Step S304, the parameter value is filled into the application parameter corresponding to the parameter value.
In actual implementation, the parameter values of the test cases can be obtained from the cache database through an automation script, and in consideration that the test cases generally comprise at least one case parameter, the obtained parameter values can be filled into the corresponding case parameters, for example, the case parameters are still used as the concurrent starting number for illustration, if the maximum number value corresponding to the concurrent starting number is used as the parameter value of the case parameters, the maximum number value can be read from the cache database through the automation script and filled into the case parameters corresponding to the concurrent starting number.
Step S306, generating a configuration file of the test case according to the case parameters and the parameter values corresponding to the case parameters.
The configuration file may be a conf file, and in actual implementation, the configuration file of the test case may be automatically generated by an automation code according to the case parameters filled with the parameter values.
Step S308, generating test cases according to the configuration files.
In actual implementation, the configuration file, such as the conf file, can be read through an automatic script, and a test case is automatically generated by utilizing the read data so as to test target software, for example, the test can be used for daily inspection or regression test tasks, wherein the regression test can be understood as a controlled experiment capable of detecting regression bug, and can be understood as that after old codes are modified, the test is performed again so as to confirm that new errors are not introduced in the modification or other codes are caused to generate errors; the test case may be in the form of automation code, which typically includes checkpoints and the like.
The method comprises the steps of firstly obtaining the quantity of the added security groups of the mondab for a user within a certain time, generally obtaining a plurality of quantity values, comparing the obtained quantity values, selecting the maximum quantity value from the obtained quantity values to obtain the maximum quantity of the security groups, reading the maximum quantity value from a cache database through an automation script, filling the maximum quantity value into the application parameters corresponding to the added security groups of the mondab, automatically generating configuration files of the test cases, such as conf files, by an automation code, reading the conf files by the automation script, and automatically generating complete automatic test cases.
According to the method for generating the test cases, if the test cases of the target software are required to be generated, the parameter values of the test cases are determined according to the related operation data of the users of the target software; and filling the parameter values into the application parameters corresponding to the parameter values, generating a configuration file of the test case according to the application parameters and the parameter values corresponding to the application parameters, and further generating the test case. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
The embodiment of the invention also provides another method for generating the test case, which is realized on the basis of the method of the embodiment; the method focuses on describing a specific process of updating the test case according to the updated user data of the target software, and specifically corresponds to the following steps S408 to S410, as shown in fig. 4, and the method includes the following steps:
step S402, if a test case of the target software needs to be generated, determining parameter values of the test case according to user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software.
Step S404, generating a configuration file of the test case according to the parameter value.
Step S406, generating test cases according to the configuration files.
Step S408, obtaining updated user data of the target software according to a preset time interval.
The preset time interval can be set according to actual requirements, for example, the time interval can be daily, hourly and the like, or the updated user data of the target software can be obtained in real time, and the updated user data can be understood as new operation data generated when a user of the target software operates the target software; in actual implementation, considering that the operation data of the target software is continuously updated when the user of the target software operates the target software, the updated user data of the target software needs to be acquired according to a preset time interval, for example, online user data can be acquired every day, and the latest behavior of the user is acquired, so that the reliability of the generated test case scene is ensured.
Step S410, updating the test case according to the updated user data.
After the updated user data of the target software is obtained, the updated parameter value of the test case can be determined according to the updated user data, then the updated configuration file of the test case is generated according to the updated parameter value, and then the test case is updated according to the updated configuration file.
According to the method for generating the test cases, if the test cases of the target software are required to be generated, the parameter values of the test cases are determined according to the related operation data of the users of the target software; generating a configuration file of the test case according to the parameter values, and further generating the test case; and updating the test case according to the acquired updated user data of the target software. According to the method, online user data are stored, the latest dynamics of the user are obtained in real time, the test case is automatically generated after the user data are obtained, and manual writing of the case and an automatic script is not needed, so that high reliability of a test case scene is guaranteed, time for generating the test case is saved, testing efficiency is improved, the fact that the user data used in automatic testing are user operation is guaranteed, and accuracy is high; for continuous integrated test, regression test after adding new functions, subsequent online scene real-time playback and the like, automatic execution can be directly carried out, the test cases do not need to be selected manually, and the intellectualization of the test cases is greatly improved.
The embodiment of the invention provides a software testing method, which is realized on the basis of the method of the embodiment; as shown in fig. 5, the method comprises the steps of:
Step S502, if the target software needs to be tested, obtaining a test case of the target software; the test case of the target software is generated by the following steps: determining parameter values of the test cases according to user data of the target software; wherein the user data includes: operating data of the target software operated by a user of the target software; generating a configuration file of the test case according to the parameter value; and generating test cases according to the configuration files.
And step S504, testing the target software through the test case to obtain a test result.
The above test result may be understood as an actual test result of the target software obtained after the target software is tested according to the test method in the test case, and whether the software function corresponding to the test case in the target software meets the software requirement or not may be confirmed according to the actual test result.
According to the software testing method provided by the embodiment of the invention, if the target software needs to be tested, the target software can be tested through the obtained test case of the target software, and a testing result is obtained; the test case of the target software can be generated by the following method: determining parameter values of the test cases according to relevant operation data of users of the target software; and generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
The embodiment of the invention also provides another software testing method, which is realized on the basis of the method of the embodiment; as shown in fig. 6, the method includes the steps of:
step S602, if the target software needs to be tested, obtaining a test case of the target software; the test case of the target software is generated by the following steps: determining parameter values of the test cases according to user data of the target software; wherein the user data includes: operating data of the target software operated by a user of the target software; generating a configuration file of the test case according to the parameter value; and generating test cases according to the configuration files.
And step S604, testing the target software through the test case to obtain a test result.
Step S606, the test result is sent to the designated test result receiving address.
The test result receiving address may include a workgroup or a mailbox, etc., and the test result receiving address may be designated according to actual requirements, so that a person corresponding to the test result receiving address may obtain the test result, and further may analyze the test result to improve a software function corresponding to the test case in the target software; in actual implementation, the automation code can be combined with the jenkins server, an automation test case generated according to big data is executed on the jenkins server, the jenkins server calls an automation script of the test case, the target software is verified through the automation script of the test case, and a test result is sent to a working group and a mailbox and the like configured by the jenkins server in a report form; the jenkins server has some self functions, such as a timing construction function, by which a timing rule can be set, and after the setting is completed, construction tasks can be executed at fixed time according to the set time, so that labor can be saved; in addition, the system also has mail sending function, visual reporting function and the like. Typically, the user data is obtained, the test cases are generated, and the test cases are executed on a device, for example, a jenkins server.
According to the software testing method, if the target software needs to be tested, the target software can be tested through the obtained test case of the target software, and a testing result is obtained; and sending the test result to the designated test result receiving address. According to the method, the test cases are automatically generated according to the real user operation data of the target software, and compared with a mode of manually writing the test cases, the real user operation data enable the generated test cases to be matched with the actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
The embodiment of the invention provides a structural schematic diagram of a device for generating test cases, as shown in fig. 7, the device comprises: a first determining module 70, configured to determine a parameter value of a test case according to user data of the target software if the test case of the target software needs to be generated; wherein the user data includes: operating data of the target software operated by a user of the target software; a first generating module 71, configured to generate a configuration file of the test case according to the parameter value; a second generating module 72, configured to generate a test case according to the configuration file.
The device for generating the test case provided by the embodiment of the invention determines the parameter value of the test case according to the related operation data of the user of the target software if the test case of the target software is required to be generated; and generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the device, according to the real user operation data of the target software, the test case is automatically generated, and compared with a mode of manually writing the test case, the real user operation data enables the generated test case to be matched with an actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
Further, the test case includes at least one case parameter; the first determination module 70 is further configured to: if the parameter value of the use case parameter is required to be determined according to the user data, acquiring the user data related to the use case parameter; the parameter values of the use case parameters are determined based on user data associated with the use case parameters.
Further, the use case parameter is provided with an identifier; the identifier is used to indicate: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value; the first determination module 70 is further configured to: querying an identifier of the use case parameter, and acquiring user data related to the use case parameter if the identifier of the use case parameter indicates that a parameter value of the use case parameter is determined according to the user data.
Further, the user data is stored in a preset relational database in advance; at least one part of data in the user data is synchronized in a preset cache database; the first determination module 70 is further configured to: acquiring user data related to the use case parameters from a cache database; if the user data related to the use case parameters cannot be obtained from the cache database, the user data related to the use case parameters is obtained from the relational database through the cache database.
Further, the first determining module 70 is further configured to: obtaining alternative parameter values of the use case parameters from the user data; if the alternative parameter values include a plurality of types, a parameter value of the use case parameter is determined from the plurality of alternative parameter values according to the magnitude of the alternative parameter value.
Further, the first generating module 71 is further configured to: filling the parameter value into the application parameter corresponding to the parameter value; and generating a configuration file of the test case according to the case parameters and the parameter values corresponding to the case parameters.
Further, the device is also used for: acquiring updated user data of target software according to a preset time interval; and updating the test case according to the updated user data.
The device for generating the test case provided by the embodiment of the invention has the same implementation principle and technical effects as the method embodiment for generating the test case, and for the sake of brief description, the corresponding content in the method embodiment for generating the test case can be referred to.
An embodiment of the present invention provides a schematic structural diagram of a software testing device, as shown in fig. 8, where the device includes: an obtaining module 80, configured to obtain a test case of the target software if the target software needs to be tested; the second determining module 81 is configured to test the target software through a test case, so as to obtain a test result; the test case of the target software is generated by the following steps: determining parameter values of the test cases according to user data of the target software; wherein the user data includes: operating data of the target software operated by a user of the target software; generating a configuration file of the test case according to the parameter value; and generating test cases according to the configuration files.
According to the software testing device provided by the embodiment of the invention, if the target software needs to be tested, the target software can be tested through the obtained test case of the target software, so that a testing result is obtained; the test case of the target software can be generated by the following method: determining parameter values of the test cases according to relevant operation data of users of the target software; and generating a configuration file of the test case according to the parameter values, and further generating the test case. According to the device, according to the real user operation data of the target software, the test case is automatically generated, and compared with a mode of manually writing the test case, the real user operation data enables the generated test case to be matched with an actual application scene of the target software, so that the accuracy and the reliability of software testing are improved; meanwhile, the generation efficiency of the test cases is improved.
Further, the device is also used for: and sending the test result to the designated test result receiving address.
The implementation principle and the generated technical effects of the software testing device provided by the embodiment of the invention are the same as those of the embodiment of the software testing method, and for the sake of brief description, reference may be made to corresponding contents in the embodiment of the software testing method where the embodiment of the software testing device is not mentioned.
The embodiment of the present invention further provides a server, referring to fig. 9, where the server includes a processor 130 and a memory 131, where the memory 131 stores machine executable instructions that can be executed by the processor 130, and the processor 130 executes the machine executable instructions to implement the method for generating test cases or the software test method described above.
Further, the server shown in fig. 9 further includes a bus 132 and a communication interface 133, and the processor 130, the communication interface 133, and the memory 131 are connected through the bus 132.
The memory 131 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 133 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc. Bus 132 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in fig. 9, but not only one bus or one type of bus.
The processor 130 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in processor 130. The processor 130 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131, and in combination with its hardware, performs the steps of the method of the foregoing embodiment.
The embodiment of the invention also provides a machine-readable storage medium, which stores machine-executable instructions that, when being called and executed by a processor, cause the processor to implement the method for generating test cases or the software test method, and the specific implementation can refer to the method embodiment and is not described herein.
The method for generating test cases, the software testing method, the device and the computer program product of the server provided by the embodiments of the present invention include a computer readable storage medium storing program codes, and the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. A method of generating test cases, the method comprising:
if a test case of the target software needs to be generated, determining a parameter value of the test case according to user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software; the operation data comprise the number of mongdb purchased by a user and the number of times of more matching of the user to the corresponding instance of the target software;
Generating a configuration file of the test case according to the parameter value;
generating the test case according to the configuration file;
generating a configuration file of the test case according to the parameter value, wherein the configuration file comprises the following steps:
filling the parameter value into an application parameter corresponding to the parameter value; the parameter value is specific data related to the test case;
generating a configuration file of the test case according to the case parameters and parameter values corresponding to the case parameters;
the test case comprises at least one case parameter;
the step of determining the parameter value of the test case according to the user data of the target software comprises the following steps:
if the parameter value of the use case parameter is required to be determined according to the user data, acquiring the user data related to the use case parameter;
determining parameter values of the use case parameters according to user data related to the use case parameters;
the use case parameter is provided with an identifier; the identifier is used for indicating: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value;
the step of obtaining the user data related to the use case parameters if the parameter values of the use case parameters are determined according to the user data comprises the following steps:
And inquiring the identifier of the use case parameter, and if the identifier of the use case parameter indicates that the parameter value of the use case parameter is determined according to the user data, acquiring the user data related to the use case parameter.
2. The method of claim 1, wherein the user data is pre-stored in a pre-set relational database; at least one part of data in the user data is synchronized in a preset cache database;
the step of obtaining the user data related to the use case parameter comprises the following steps:
acquiring user data related to the use case parameters from the cache database;
and if the user data related to the use case parameters cannot be acquired from the cache database, acquiring the user data related to the use case parameters from the relational database through the cache database.
3. The method of claim 1, wherein the step of determining the parameter value of the use case parameter based on user data associated with the use case parameter comprises:
acquiring alternative parameter values of the use case parameters from the user data;
and if the alternative parameter values comprise a plurality of types, determining the parameter value of the use case parameter from the plurality of alternative parameter values according to the magnitude of the alternative parameter value.
4. The method of claim 1, wherein after the step of generating the test case from the configuration file, the method further comprises:
acquiring updated user data of the target software according to a preset time interval;
and updating the test case according to the updated user data.
5. A method of software testing, the method comprising:
if the target software needs to be tested, acquiring a test case of the target software;
testing the target software through the test case to obtain a test result;
the test case of the target software is generated by the following method: determining the parameter value of the test case according to the user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software; the operation data comprise the number of mongdb purchased by a user and the number of times of more matching of the user to the corresponding instance of the target software; generating a configuration file of the test case according to the parameter value; generating the test case according to the configuration file; generating a configuration file of the test case according to the parameter value, wherein the configuration file comprises the following steps: filling the parameter value into an application parameter corresponding to the parameter value; the parameter value is specific data related to the test case; generating a configuration file of the test case according to the case parameters and parameter values corresponding to the case parameters; the test case comprises at least one case parameter; the step of determining the parameter value of the test case according to the user data of the target software comprises the following steps: if the parameter value of the use case parameter is required to be determined according to the user data, acquiring the user data related to the use case parameter; determining parameter values of the use case parameters according to user data related to the use case parameters; the use case parameter is provided with an identifier; the identifier is used for indicating: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value; the step of obtaining the user data related to the use case parameters if the parameter values of the use case parameters are determined according to the user data comprises the following steps: and inquiring the identifier of the use case parameter, and if the identifier of the use case parameter indicates that the parameter value of the use case parameter is determined according to the user data, acquiring the user data related to the use case parameter.
6. The method of claim 5, wherein after the step of testing the target software by the test case, the method further comprises: and sending the test result to a designated test result receiving address.
7. An apparatus for generating test cases, the apparatus comprising:
the first determining module is used for determining parameter values of the test cases according to user data of the target software if the test cases of the target software need to be generated; wherein the user data includes: the user of the target software operates the operation data of the target software; the operation data comprise the number of mongdb purchased by a user and the number of times of more matching of the user to the corresponding instance of the target software;
the first generation module is used for generating a configuration file of the test case according to the parameter value;
the second generation module is used for generating the test case according to the configuration file;
the first generation module is further configured to:
filling the parameter value into an application parameter corresponding to the parameter value; the parameter value is specific data related to the test case;
generating a configuration file of the test case according to the case parameters and parameter values corresponding to the case parameters;
The test case comprises at least one case parameter;
the first determination module is further configured to: if the parameter value of the use case parameter is required to be determined according to the user data, acquiring the user data related to the use case parameter; determining parameter values of the use case parameters according to user data related to the use case parameters;
the use case parameter is provided with an identifier; the identifier is used for indicating: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value; the first determination module is further configured to: and inquiring the identifier of the use case parameter, and if the identifier of the use case parameter indicates that the parameter value of the use case parameter is determined according to the user data, acquiring the user data related to the use case parameter.
8. A software testing apparatus, the apparatus comprising:
the acquisition module is used for acquiring a test case of the target software if the target software needs to be tested;
the second determining module is used for testing the target software through the test case to obtain a test result;
the test case of the target software is generated by the following method: determining the parameter value of the test case according to the user data of the target software; wherein the user data includes: the user of the target software operates the operation data of the target software; the operation data comprise the number of mongdb purchased by a user and the number of times of more matching of the user to the corresponding instance of the target software; generating a configuration file of the test case according to the parameter value; generating the test case according to the configuration file; generating a configuration file of the test case according to the parameter value, wherein the configuration file comprises the following steps: filling the parameter value into an application parameter corresponding to the parameter value; the parameter value is specific data related to the test case; generating a configuration file of the test case according to the case parameters and parameter values corresponding to the case parameters; the test case comprises at least one case parameter; the step of determining the parameter value of the test case according to the user data of the target software comprises the following steps: if the parameter value of the use case parameter is required to be determined according to the user data, acquiring the user data related to the use case parameter; determining parameter values of the use case parameters according to user data related to the use case parameters; the use case parameter is provided with an identifier; the identifier is used for indicating: the parameter value of the use case parameter is determined according to the user data, or the parameter value of the use case parameter is a designated value; the step of obtaining the user data related to the use case parameters if the parameter values of the use case parameters are determined according to the user data comprises the following steps: and inquiring the identifier of the use case parameter, and if the identifier of the use case parameter indicates that the parameter value of the use case parameter is determined according to the user data, acquiring the user data related to the use case parameter.
9. A server comprising a processor and a memory, the memory storing machine executable instructions executable by the processor to implement the method of generating test cases of any one of claims 1-4 or the software testing method of any one of claims 5-6.
10. A machine-readable storage medium storing machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of generating test cases of any one of claims 1-4, or the software testing method of any one of claims 5-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010509905.7A CN111651358B (en) | 2020-06-05 | 2020-06-05 | Method for generating test case, software test method, device and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010509905.7A CN111651358B (en) | 2020-06-05 | 2020-06-05 | Method for generating test case, software test method, device and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111651358A CN111651358A (en) | 2020-09-11 |
CN111651358B true CN111651358B (en) | 2024-04-12 |
Family
ID=72343518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010509905.7A Active CN111651358B (en) | 2020-06-05 | 2020-06-05 | Method for generating test case, software test method, device and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111651358B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112346965B (en) * | 2020-10-12 | 2024-05-17 | 天津五八到家货运服务有限公司 | Test case distribution method, device and storage medium |
CN112738500A (en) * | 2020-11-14 | 2021-04-30 | 武汉风行在线技术有限公司 | Method and device for automatically generating test case on smart television |
CN114328214B (en) * | 2021-12-27 | 2023-05-12 | 深圳市六度人和科技有限公司 | Efficiency improving method and device for interface test case of reporting software and computer equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7158907B1 (en) * | 2004-08-04 | 2007-01-02 | Spirent Communications | Systems and methods for configuring a test setup |
CN105512036A (en) * | 2015-12-12 | 2016-04-20 | 天津南大通用数据技术股份有限公司 | Test template for automatically generating test case according to preset rules and test method |
CN106708723A (en) * | 2015-11-13 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Testing and verifying methods and apparatuses |
WO2017113912A1 (en) * | 2015-12-30 | 2017-07-06 | 中兴通讯股份有限公司 | Physical layer software automation test method and device |
CN108470004A (en) * | 2018-04-09 | 2018-08-31 | 平安普惠企业管理有限公司 | Test script generation method, test method, device, equipment and storage medium |
CN109086199A (en) * | 2018-06-22 | 2018-12-25 | 网宿科技股份有限公司 | A kind of automation generates the method for test script, terminal and can storage medium |
CN109684209A (en) * | 2018-12-17 | 2019-04-26 | 北京奇虎科技有限公司 | A kind of method for generating test case, device and electronic equipment |
CN109992508A (en) * | 2019-03-22 | 2019-07-09 | 恒生电子股份有限公司 | Test exemple automation generation method, device and electronic equipment |
WO2020000706A1 (en) * | 2018-06-25 | 2020-01-02 | 平安科技(深圳)有限公司 | Database comparison-based interface testing method and system, device and storage medium |
CN110990269A (en) * | 2019-11-26 | 2020-04-10 | 苏宁云计算有限公司 | Interface testing method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9529699B2 (en) * | 2013-06-11 | 2016-12-27 | Wipro Limited | System and method for test data generation and optimization for data driven testing |
-
2020
- 2020-06-05 CN CN202010509905.7A patent/CN111651358B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7158907B1 (en) * | 2004-08-04 | 2007-01-02 | Spirent Communications | Systems and methods for configuring a test setup |
CN106708723A (en) * | 2015-11-13 | 2017-05-24 | 阿里巴巴集团控股有限公司 | Testing and verifying methods and apparatuses |
CN105512036A (en) * | 2015-12-12 | 2016-04-20 | 天津南大通用数据技术股份有限公司 | Test template for automatically generating test case according to preset rules and test method |
WO2017113912A1 (en) * | 2015-12-30 | 2017-07-06 | 中兴通讯股份有限公司 | Physical layer software automation test method and device |
CN108470004A (en) * | 2018-04-09 | 2018-08-31 | 平安普惠企业管理有限公司 | Test script generation method, test method, device, equipment and storage medium |
CN109086199A (en) * | 2018-06-22 | 2018-12-25 | 网宿科技股份有限公司 | A kind of automation generates the method for test script, terminal and can storage medium |
WO2020000706A1 (en) * | 2018-06-25 | 2020-01-02 | 平安科技(深圳)有限公司 | Database comparison-based interface testing method and system, device and storage medium |
CN109684209A (en) * | 2018-12-17 | 2019-04-26 | 北京奇虎科技有限公司 | A kind of method for generating test case, device and electronic equipment |
CN109992508A (en) * | 2019-03-22 | 2019-07-09 | 恒生电子股份有限公司 | Test exemple automation generation method, device and electronic equipment |
CN110990269A (en) * | 2019-11-26 | 2020-04-10 | 苏宁云计算有限公司 | Interface testing method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN111651358A (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111651358B (en) | Method for generating test case, software test method, device and server | |
CN103530199B (en) | A kind of method, Apparatus and system repairing running software mistake | |
CN110708210B (en) | Cloud test configuration method and device, computer equipment and storage medium | |
CN108196878B (en) | Method and device for generating application program installation package, electronic equipment and storage medium | |
CN108446223B (en) | Business scene automatic testing method based on dynamic compilation | |
CN110489314B (en) | Model anomaly detection method and device, computer equipment and storage medium | |
CN111258900A (en) | Interface test script generation method, system, equipment and storage medium | |
CN111506489A (en) | Test method, system, device, server and storage medium | |
CN113127347A (en) | Interface testing method, device, equipment and readable storage medium | |
CN113448862B (en) | Software version testing method and device and computer equipment | |
CN106557419B (en) | Program testing method and device | |
CN112069073A (en) | Test case management method, terminal and storage medium | |
CN111459509A (en) | Container mirror image construction method and device and server | |
CN110908702A (en) | Version switching method, version switching device, computer equipment and storage medium | |
CN115248783B (en) | Software testing method, system, readable storage medium and computer equipment | |
CN109508203B (en) | Method, device and system for determining version consistency | |
CN113360366A (en) | Web page testing method, testing device, electronic equipment and storage medium | |
CN116010283A (en) | Test case repairing method, device, computer equipment and storage medium | |
CN114860608A (en) | Scene construction based system automation testing method, device, equipment and medium | |
CN108710692A (en) | A kind of automobile part production line test system and method | |
CN109240906B (en) | Database configuration information adaptation method and device, computer equipment and storage medium | |
CN111309623B (en) | Coordinate class data classification test method and device | |
CN114036008A (en) | Equipment information detection method and device, computer equipment and storage medium | |
CN109815145B (en) | Batch measurement order testing method and device | |
CN111400181A (en) | Object testing method and device and server |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |