CN106610899B - Test case generation method and device - Google Patents

Test case generation method and device Download PDF

Info

Publication number
CN106610899B
CN106610899B CN201611262868.4A CN201611262868A CN106610899B CN 106610899 B CN106610899 B CN 106610899B CN 201611262868 A CN201611262868 A CN 201611262868A CN 106610899 B CN106610899 B CN 106610899B
Authority
CN
China
Prior art keywords
code
content
field
codes
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
Application number
CN201611262868.4A
Other languages
Chinese (zh)
Other versions
CN106610899A (en
Inventor
刘逻
陈媛
王俊杰
宋元章
哈清华
王安邦
王红园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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 Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN201611262868.4A priority Critical patent/CN106610899B/en
Publication of CN106610899A publication Critical patent/CN106610899A/en
Application granted granted Critical
Publication of CN106610899B publication Critical patent/CN106610899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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 discloses a test case generation method and a device, wherein the method comprises the following steps: determining field attributes, content codes, content descriptions and initial source codes of each field corresponding to the interface to be tested, and selecting any field with the field attributes being command types or state types as a target field; if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code, if the content codes of the target field have the associated content codes, generating the abnormal code corresponding to each content code, and connecting the content codes with the association to form a combined code; and determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with the corresponding content description to obtain a test case. The normal requirement and the abnormal processing capability of the software interface can be covered by the test case.

Description

Test case generation method and device
Technical Field
The invention relates to the technical field of interface testing, in particular to a test case generation method and device.
Background
In the development process of military software, software configuration item test and system test are necessarily required to improve the reliability of the software, and interface test is an important test type essential to the configuration item test and the system test.
The military software has the conditions of multiple configuration items and complex interfaces, one configuration item generally has multiple external interfaces, each interface at least corresponds to one communication protocol, the communication contents of the two interfaces are described by at least one communication protocol table, and the table has complex contents and large information quantity. Typically comprising a header, command words, status words, data used, a checksum and a trailer. In the testing process, when a software tester designs a test case, in order to ensure the correctness and reliability of interface communication, the content of each field needs to be verified and tested, and an abnormal case needs to be designed in a specific field, so that the robustness of the software is improved, and the interface can normally run under normal and abnormal conditions. In addition, the same communication protocol table often has the following relationship, for example, the field a and the field B have a dependency relationship, and the function C can be realized only by the field a and the field B; even fields in different communication protocol tables have a mutual dependency relationship, and in the dependency relationship, a normal test case needs to be designed, and an abnormal test case needs to be designed. Therefore, software testers need a long time to design interface test cases, and the testers have different levels, so that the test cases cannot cover the normal requirements and the abnormal processing capability of the software interfaces.
In summary, how to provide a technical solution that enables a test case to cover normal requirements and exception handling capability of a software interface is a problem to be urgently solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a test case generation method and a test case generation device, so that the generated test case can cover the normal requirement and the exception handling capability of a software interface.
In order to achieve the above purpose, the invention provides the following technical scheme:
a test case generation method comprises the following steps:
determining field attributes, content codes, content descriptions and initial source codes of each field corresponding to the interface to be tested, and selecting any field with the attribute as a command class or a state class from the determined fields as a target field;
if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code, and if the content codes of the target field have the associated content codes, generating the abnormal code corresponding to each content code and connecting the content codes with the associated content codes to form a combined code;
determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with corresponding content description to obtain a test case, wherein the codes comprise content codes, abnormal codes and combined codes.
Preferably, after obtaining the test case, the method further includes:
and judging whether a test case corresponding to each field with the attribute of the state class or the command class is obtained, if so, generating the test cases of the corresponding ultra-long frame and the ultra-short frame based on the total number of the fields.
Preferably, the method further comprises the following steps:
establishing a mathematical model corresponding to each field, wherein the mathematical model comprises the description of the interface to be tested, a field sequence number, a field description, a field attribute, a content code, a content description, the correlation among the content codes and an initial source code;
and inputting the mathematical model of each field into a GESTE interface configuration file to generate a corresponding mathematical model, wherein the XML file is used for extracting information contained in the mathematical model.
Preferably, the method further comprises the following steps:
and selecting the field attribute as the field of the data class from the determined fields, and storing the part of the field to a specified position.
Preferably, the generating of the exception code corresponding to each of the content codes includes:
determining the number of binary digits of each of the content codes;
determining all binary codes corresponding to the binary digits and determining a binary code different from the content code as a corresponding exception code.
A test case generation apparatus comprising:
the information determining module is used for determining field attributes, content codes, content descriptions and initial source codes of each field corresponding to the interface to be tested, and selecting any field with the command class or the state class as a target field from the determined fields;
the code generating module is used for generating an abnormal code corresponding to each content code if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code if the content codes of the target field have the associated content codes, and connecting the content codes with the association to form a combined code;
the first case generation module is used for determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with corresponding content description to obtain a test case, wherein the codes comprise content codes, abnormal codes and combined codes.
Preferably, the method further comprises the following steps:
and the second case generation module is used for judging whether the test case corresponding to the field with the attribute of state class or command class is obtained after the test case is obtained, and if so, generating the test cases of the corresponding ultra-long frame and the ultra-short frame based on the total number of the fields.
Preferably, the method further comprises the following steps:
an information processing module to: establishing a mathematical model corresponding to each field, wherein the mathematical model comprises the description of the interface to be tested, a field sequence number, a field description, a field attribute, a content code, a content description, the correlation among the content codes and an initial source code; and inputting the mathematical model of each field into a GESTE interface configuration file to generate a corresponding mathematical model, wherein the XML file is used for extracting information contained in the mathematical model.
Preferably, the method further comprises the following steps:
and the field storage module is used for selecting the field with the field attribute as the data type from the determined fields and storing the part of the fields to the specified position.
Preferably, the code generation module includes:
a code generation unit to: determining the number of binary digits of each of the content codes; determining all binary codes corresponding to the binary digits and determining a binary code different from the content code as a corresponding exception code.
The invention provides a test case generation method and a test case generation device, wherein the method comprises the following steps: determining field attributes, content codes, content descriptions and initial source codes of each field corresponding to the interface to be tested, and selecting any field with the attribute as a command class or a state class from the determined fields as a target field; if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code, and if the content codes of the target field have the associated content codes, generating the abnormal code corresponding to each content code and connecting the content codes with the associated content codes to form a combined code; determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with corresponding content description to obtain a test case, wherein the codes comprise content codes, abnormal codes and combined codes. According to the technical scheme disclosed by the embodiment of the invention, the field of each state class or command class is obtained, the corresponding abnormal code and combined code are generated based on the condition of the content code contained in the field, and finally the generation of the test case is realized based on all codes, so that the interface test case can be automatically generated, software testers do not need to spend longer time to design a test case interface, the corresponding test case can be generated based on the content code, the abnormal code and the combined code, and the normal condition, the abnormal condition and the condition of correlation among the fields in the interface test are considered, so that the generated test case can cover the normal requirement and the abnormal processing capability of the software interface, and the sufficiency of the test case is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a test case generation method according to an embodiment of the present invention;
fig. 2 is a first layer decomposition flowchart in a test case generation method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a test case generation apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a test case generation method according to an embodiment of the present invention is shown, where the method includes:
s11: determining the field attribute, content code, content description and initial source code of each field corresponding to the interface to be tested, and selecting any field with the attribute as a command class or a state class from the determined fields as a target field.
The field attribute includes a command class, a state class and a data class, the content code may be a preset N-ary data code, for example, N may be 2, and the content description and the content code are in one-to-one correspondence, for example, the content description corresponding to the content code 0001 is valid for single trunk tracking, the fusion tracking corresponding to 0010 is valid, and the initial source code is a source code corresponding to the field, and is consistent with the corresponding concept in the prior art, and is not described herein again.
S12: and if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code, and if the content codes of the target field have the associated content codes, generating the abnormal code corresponding to each content code and connecting the content codes with the association to form a combined code.
Specifically, the above steps may include the following processes: firstly, determining whether the content code of a target field is greater than 1, if not, directly generating an abnormal code corresponding to each content code, if so, judging whether the different content codes are associated, if not, directly generating the abnormal code corresponding to each content code, and if so, not only generating the abnormal code corresponding to each content code, but also connecting the content codes with the association to form a combined code, wherein if the two content codes with the association are 1111 and 1110 respectively, the corresponding combined code is 11110; the association is consistent with corresponding concepts in the prior art, and includes that the content description corresponding to one content code and the content description corresponding to another content code jointly realize the same function, the change of the content description corresponding to one content code can cause the change of the content description corresponding to another content code, and the like.
In addition, the number of the test points is the number of all the obtained codes, so that the acquisition of the test source codes and the subsequent steps are realized for each test point.
S13: determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with corresponding content description to obtain a test case, wherein the codes comprise content codes, abnormal codes and combined codes.
The corresponding relation between the test source code and the code is preset, so that the test source code corresponding to each code can be directly determined based on the corresponding relation, the preset sequence can be an arrangement sequence of the sequence number of the corresponding field for each field in advance, all the determined test source codes correspond to the position of the target field, all the test source codes corresponding to the target field are connected with the initial source codes of other fields according to the preset sequence to obtain a corresponding test source code set, and each code is connected with the corresponding content description to obtain the test case, wherein if the content code is 0001, and if the content description is fusion trace effective, the code is connected to obtain (0001, fusion trace effective).
It should be noted that, if it is necessary to generate a corresponding test case for each field whose field attribute is a state class or a command class, step S12 and step S13 may be sequentially selected as a target field, so as to implement generation of a test case whose all field attributes are fields whose field attributes are state classes or command classes, specifically, a variable i, i ═ 1 may be set to correspond to a first field whose test case needs to be generated, and for each generation of a field test case, i ═ i +1 is set, and step S12 is returned to be executed, so as to implement cyclic generation of test cases of different fields.
In addition, it should be noted that the technical solution provided by the embodiment of the present invention can implement automatic generation of a test case based on an application layer interface protocol.
According to the technical scheme disclosed by the embodiment of the invention, the field of each state class or command class is obtained, the corresponding abnormal code and combined code are generated based on the condition of the content code contained in the field, and finally the generation of the test case is realized based on all codes, so that the interface test case can be automatically generated, software testers do not need to spend longer time to design a test case interface, the corresponding test case can be generated based on the content code, the abnormal code and the combined code, and the normal condition, the abnormal condition and the condition of correlation among the fields in the interface test are considered, so that the generated test case can cover the normal requirement and the abnormal processing capability of the software interface, and the sufficiency of the test case is further improved.
In addition, the technical scheme disclosed by the application can effectively reduce the workload of software testers on designing the interface test cases, effectively improve the coverage of the interface test cases on the interface protocol, effectively avoid the problem of missing points of the combined interface test cases and enhance the effectiveness of the interface test.
The test case generation method provided by the embodiment of the invention, after obtaining the test case, may further include:
and judging whether a test case corresponding to each field with the attribute of the state class or the command class is obtained, if so, generating the test cases of the corresponding ultra-long frame and the ultra-short frame based on the total number of the fields.
If the test cases corresponding to the fields with the field attributes of the state class or the command class are generated, the test cases of the ultra-long frame and the ultra-short frame are generated based on the total number of the fields, namely, the test cases of the ultra-long frame are added with a plurality of fields and corresponding information to enable redundant fields to exist in the corresponding fields of the interface to be tested, and the test cases of the ultra-short frame are reduced with a plurality of fields and corresponding information to enable the corresponding fields of the interface to be tested to lack the fields to be tested, so that the processing capacity of the interface to be tested for the abnormal conditions of the ultra-long frame and the ultra-short frame is obtained based on the test cases.
The test case generation method provided by the embodiment of the invention can further comprise the following steps:
establishing a mathematical model corresponding to each field, wherein the mathematical model comprises the description of the interface to be tested, the field serial number, the field description, the field attribute, the content code, the content description, the correlation among the content codes and an initial source code;
and inputting the mathematical model of each field into a GESTE interface configuration file to generate a corresponding mathematical model, wherein the XML file is used for extracting information contained in the mathematical model.
Establishing a mathematical model, wherein the model can be described as follows; a field sequence number; a field description; a field attribute; content encoding; a description of the content; associations between content descriptions, initial source codes ]; the XML file is extracted from the mathematical model when the information contained in the mathematical model of the field is needed, so that the information is convenient to store and extract. The description of the interface to be tested may be an information source correspondingly received by the interface to be tested, the field sequence number may be a corresponding sequence number obtained by sorting the field in advance, and the field description may be a name of the field.
Specifically, extracting the information corresponding to the field from the XML file may include two layers of decomposition, where the first layer of decomposition is shown in fig. 2, and the detailed content description includes a combination string in which content encoding and content description are implemented in a predetermined manner when the information is recorded; the second layer decomposition specifically includes:
s31: judging whether a separator "/" exists in the combined character string, if yes, executing step S32, and if no, executing step S33;
s32: dividing the combined character string into a plurality of subtrees according to the delimiter "/", and executing step S33;
s33: judging whether a delimiter "," exists in the combined string (corresponding to the case of no at step S31) or in each sub-tree (corresponding to step S32), and if so, performing step S34, and if not, performing step S35;
s34: step S35 is performed by dividing the combined character string (corresponding to the case of no at step S31) or each sub-tree (corresponding to step S32) into a plurality of sub-trees or a plurality of leaves by delimiter ";
s35: judging whether a separator exists in each sub-tree (corresponding to the condition of no in the step S31) or each leaf (corresponding to the step S32), if so, segmenting each sub-tree or each leaf into a plurality of leaves or a plurality of cotyledons according to the separator, and finishing segmentation, otherwise, determining that the combined character string is the segmented result; and after the division is finished, the code is the content code, and the characters are the content description. The test case generation method provided by the embodiment of the invention can further comprise the following steps:
and selecting the field attribute as the field of the data class from the determined fields, and storing the part of the field to a specified position.
Because the fields of the data class do not need to automatically generate corresponding test cases, the fields can be stored to a preset specified position, so that the fields can be directly and quickly acquired from the specified position when needed.
The test case generation method provided by the embodiment of the present invention generates an abnormal code corresponding to each content code, and may include:
determining the number of binary digits of each content code;
all binary codes corresponding to the binary digits are determined, and a binary code different from the content code is determined as a corresponding exception code.
For example, if the number of binary bits of the content code is 3, the following binary codes may be used: 000. 001, 010, 011, 100, 101, 110, 111, and content encoding includes: 000. 001, 010, 011, then the exception code includes 100, 101, 110, 111. Therefore, the abnormal code can be quickly and conveniently acquired.
An embodiment of the present invention further provides a test case generating device, as shown in fig. 3, which may include:
the information determining module 11 is configured to determine a field attribute, a content code, a content description, and an initial source code of each field corresponding to the interface to be tested, and select a field with any field attribute being a command class or a state class from the determined fields as a target field;
the code generating module 12 is configured to generate an exception code corresponding to each content code if no association exists between different content codes of the target field, generate an exception code corresponding to each content code if there is an associated content code between content codes of the target field, and connect the content codes with the association to form a combined code;
the first example generating module 13 is configured to determine a test source code corresponding to each code, connect all the determined test source codes and initial source codes of other fields into a test source code set according to a preset order, and connect each code in the set with a corresponding content description to obtain a test case, where the code includes a content code, an exception code, and a combination code.
The test case generation apparatus provided in the embodiment of the present invention may further include:
and the second case generation module is used for judging whether the test case corresponding to the field with the attribute of the state class or the command class is obtained after the test case is obtained, and if so, generating the test cases of the corresponding ultra-long frame and the ultra-short frame based on the total number of the fields.
The test case generation apparatus provided in the embodiment of the present invention may further include:
an information processing module to: establishing a mathematical model corresponding to each field, wherein the mathematical model comprises the description of the interface to be tested, the field serial number, the field description, the field attribute, the content code, the content description, the correlation among the content codes and an initial source code; and inputting the mathematical model of each field into a GESTE interface configuration file to generate a corresponding mathematical model, wherein the XML file is used for extracting information contained in the mathematical model.
The test case generation apparatus provided in the embodiment of the present invention may further include:
and the field storage module is used for selecting the field with the field attribute as the data type from the determined fields and storing the part of the fields to the specified position.
In an embodiment of the present invention, an encoding generation module of a test case generation apparatus may include:
a code generation unit to: determining the number of binary digits of each content code; all binary codes corresponding to the binary digits are determined, and a binary code different from the content code is determined as a corresponding exception code.
For a description of a relevant part in the test case generation apparatus provided in the embodiment of the present invention, reference is made to detailed descriptions of a corresponding part in the test case generation method provided in the embodiment of the present invention, and details are not repeated herein.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A test case generation method is characterized by comprising the following steps:
determining field attributes, content codes, content descriptions and initial source codes of each field corresponding to the interface to be tested, and selecting any field with the attribute as a command class or a state class from the determined fields as a target field;
if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code, and if the content codes of the target field have the associated content codes, generating the abnormal code corresponding to each content code and connecting the content codes with the associated content codes to form a combined code;
determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with corresponding content description to obtain a test case, wherein the codes comprise content codes, abnormal codes and combined codes;
the method further comprises the following steps:
establishing a mathematical model corresponding to each field, wherein the mathematical model comprises the description of the interface to be tested, a field sequence number, a field description, a field attribute, a content code, a content description, the correlation among the content codes and an initial source code;
and inputting the mathematical model of each field into a GESTE interface configuration file to generate a corresponding mathematical model, wherein the XML file is used for extracting information contained in the mathematical model.
2. The method of claim 1, wherein after obtaining the test case, further comprising:
and judging whether a test case corresponding to each field with the attribute of the state class or the command class is obtained, if so, generating the test cases of the corresponding ultra-long frame and the ultra-short frame based on the total number of the fields.
3. The method of claim 1, further comprising:
and selecting the field attribute as the field of the data class from the determined fields, and storing the selected field attribute as the field of the data class to a specified position.
4. The method of claim 1, wherein generating an exception code corresponding to each of the content codes comprises:
determining the number of binary digits of each of the content codes;
determining all binary codes corresponding to the binary digits and determining a binary code different from the content code as a corresponding exception code.
5. A test case generation apparatus, comprising:
the information determining module is used for determining field attributes, content codes, content descriptions and initial source codes of each field corresponding to the interface to be tested, and selecting any field with the command class or the state class as a target field from the determined fields;
the code generating module is used for generating an abnormal code corresponding to each content code if no association exists between different content codes of the target field, generating an abnormal code corresponding to each content code if the content codes of the target field have the associated content codes, and connecting the content codes with the association to form a combined code;
the first case generation module is used for determining a test source code corresponding to each code, connecting all the determined test source codes and initial source codes of other fields into a test source code set according to a preset sequence, and connecting each code in the set with corresponding content description to obtain a test case, wherein the codes comprise content codes, abnormal codes and combined codes;
the device further comprises:
an information processing module to: establishing a mathematical model corresponding to each field, wherein the mathematical model comprises the description of the interface to be tested, a field sequence number, a field description, a field attribute, a content code, a content description, the correlation among the content codes and an initial source code; and inputting the mathematical model of each field into a GESTE interface configuration file to generate a corresponding mathematical model, wherein the XML file is used for extracting information contained in the mathematical model.
6. The apparatus of claim 5, further comprising:
and the second case generation module is used for judging whether the test case corresponding to the field with the attribute of state class or command class is obtained after the test case is obtained, and if so, generating the test cases of the corresponding ultra-long frame and the ultra-short frame based on the total number of the fields.
7. The apparatus of claim 5, further comprising:
and the field storage module is used for selecting the field with the field attribute as the data type from the determined fields and storing the selected field with the field attribute as the data type to the specified position.
8. The apparatus of claim 5, wherein the code generation module comprises:
a code generation unit to: determining the number of binary digits of each of the content codes; determining all binary codes corresponding to the binary digits and determining a binary code different from the content code as a corresponding exception code.
CN201611262868.4A 2016-12-30 2016-12-30 Test case generation method and device Active CN106610899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611262868.4A CN106610899B (en) 2016-12-30 2016-12-30 Test case generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611262868.4A CN106610899B (en) 2016-12-30 2016-12-30 Test case generation method and device

Publications (2)

Publication Number Publication Date
CN106610899A CN106610899A (en) 2017-05-03
CN106610899B true CN106610899B (en) 2020-01-14

Family

ID=58636887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611262868.4A Active CN106610899B (en) 2016-12-30 2016-12-30 Test case generation method and device

Country Status (1)

Country Link
CN (1) CN106610899B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423222B (en) * 2017-08-08 2018-05-22 腾讯科技(深圳)有限公司 A kind of method and apparatus of definite test coverage
CN115952100A (en) * 2023-01-10 2023-04-11 北京百度网讯科技有限公司 Interface test method, device, system, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988482A (en) * 2006-12-22 2007-06-27 华为技术有限公司 Method and system for realizing automatic detection for simple network managing protocol agent
CN102360331A (en) * 2011-10-09 2012-02-22 中国航空无线电电子研究所 Test program automatic generation method based on formal description
CN103530223A (en) * 2012-07-06 2014-01-22 百度在线网络技术(北京)有限公司 Method and device for automatically generating unit test cases
CN103853650A (en) * 2012-11-28 2014-06-11 西门子公司 Test case generating method and device for fuzz testing
CN104731698A (en) * 2013-12-20 2015-06-24 深圳中兴力维技术有限公司 Abnormal test case automatic generation processing method and device based on automatic tests
CN104794057A (en) * 2015-04-29 2015-07-22 瑞斯康达科技发展股份有限公司 Automatic testing method and device for crossed event

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988482A (en) * 2006-12-22 2007-06-27 华为技术有限公司 Method and system for realizing automatic detection for simple network managing protocol agent
CN102360331A (en) * 2011-10-09 2012-02-22 中国航空无线电电子研究所 Test program automatic generation method based on formal description
CN103530223A (en) * 2012-07-06 2014-01-22 百度在线网络技术(北京)有限公司 Method and device for automatically generating unit test cases
CN103853650A (en) * 2012-11-28 2014-06-11 西门子公司 Test case generating method and device for fuzz testing
CN104731698A (en) * 2013-12-20 2015-06-24 深圳中兴力维技术有限公司 Abnormal test case automatic generation processing method and device based on automatic tests
CN104794057A (en) * 2015-04-29 2015-07-22 瑞斯康达科技发展股份有限公司 Automatic testing method and device for crossed event

Also Published As

Publication number Publication date
CN106610899A (en) 2017-05-03

Similar Documents

Publication Publication Date Title
CN106598574B (en) Page rendering method and device
CN108197114B (en) Method and device for detecting table data, storage medium and electronic device
CN110109681B (en) Method and system for converting codes between different platforms
CN107133174A (en) Test case code automatically generating device and method
CN110221968A (en) Method for testing software and Related product
CN106406844A (en) A method and a device for realizing a communication interaction platform official account menu
CN109800258A (en) Data file dispositions method, device, computer equipment and storage medium
CN104572644A (en) Database updating device and database updating method
CN111259627A (en) Document analysis method and device, computer storage medium and equipment
CN108491321A (en) test case range determining method, device and storage medium
CN114153980A (en) Knowledge graph construction method and device, inspection method and storage medium
CN106610899B (en) Test case generation method and device
CN111460232A (en) Functional module searching method, device, terminal and computer readable storage medium
CN105335245B (en) Failed storage method and apparatus, trouble shoot method and apparatus
CN114090671A (en) Data import method and device, electronic equipment and storage medium
CN104572999A (en) Heterogeneous data based detecting method and device for fault data
CN104536998A (en) Data import method and device
WO2023273218A1 (en) Json packet checking method and json packet checking apparatus
CN111857860A (en) Method and system for realizing safe loading of plug-in
CN113220568A (en) Method, device and medium for testing USIM card file system
CN102624736B (en) TL1 (transaction language 1) command verification method and TL1 command verification device
CN111352668A (en) Device testing method and device based on plug-in and testing system based on plug-in
CN110806973A (en) Automatic generation method and device of interface message
CN107368500A (en) Data pick-up method and system
CN112463596B (en) Test case data processing method, device and equipment and processing equipment

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