CN106610899A - Test case generation method and device - Google Patents
Test case generation method and device Download PDFInfo
- Publication number
- CN106610899A CN106610899A CN201611262868.4A CN201611262868A CN106610899A CN 106610899 A CN106610899 A CN 106610899A CN 201611262868 A CN201611262868 A CN 201611262868A CN 106610899 A CN106610899 A CN 106610899A
- Authority
- CN
- China
- Prior art keywords
- field
- coding
- content
- research content
- 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.)
- Granted
Links
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
Abstract
The invention discloses a test case generation method and device. The method comprises the following steps of: determining the field attribute, the content code, the content description and the initial source code of each field corresponding to an interface to be tested, and selecting a field, any field attribute of which is a command type or state type, from fields as a target field; if relevance among different content codes of the target field does not exist, generating an abnormal code corresponding to each content code, if the content codes having the relevance exist among the content codes of the target field, generating the abnormal code corresponding to each content code, and connecting the content codes having the relevance to form a combined code; and, determining a test source code corresponding to each code, connecting all the determined test source codes with the initial source codes of other fields according to a pre-set sequence, so that a test source code set is formed, and connecting each code in the set with the corresponding content description, so that a test case is obtained. The fact that the test case can cover normal requirements and the exception processing capability of a software interface can be ensured.
Description
Technical field
The present invention relates to interface testing technical field, more particularly, it relates to a kind of method for generating test case and device.
Background technology
Military products software is necessarily required to software configuration item test and system testing to improve the reliability of software in development process
Property, and interface testing is a requisite important test-types in configuration item test and system testing.
Military products software has that configuration item is more, complex interfaces situations, and a configuration item generally there are multiple external interfaces, often
One interface at least corresponds to a communications protocol, and the Content of communciation of two interfaces is at least described by a communications protocol table,
The table content is complicated, contains much information.Generally comprise frame head, command word, status word, the data for being used, verification and with postamble structure
Into.In test process, software test personnel in design test case, in order to ensure the correctness and reliability of interface communication
Property, not only need that the content of each field is verified and tested, in addition it is also necessary to design abnormal use-case in individual fields, with this
Improve the robustness of software, it is ensured that interface can normally run in the case of normal and exception.In addition, same communication
In agreement table, following relation is usually present, such as field A and field B have dependence, and by A and B C functions could be realized;Very
Field into different communications protocol tables there is also complementary relation, not only need design normal in this dependence
Test case, in addition it is also necessary to design abnormality test use-case.Therefore, software test personnel need the long period to go design interface test to use
Example, and there is the different situation of level in tester, so there is test case cannot cover the normal demand of software interface
With the phenomenon of exception handling ability.
In sum, how a kind of normal demand and abnormality processing for enabling test case to cover software interface is provided
The technical scheme of ability, is current those skilled in the art's problem demanding prompt solution.
The content of the invention
It is an object of the invention to provide a kind of method for generating test case and device, so that the test case for generating can
Cover the normal demand and exception handling ability of software interface.
To achieve these goals, the present invention provides following technical scheme:
A kind of method for generating test case, including:
It is determined that the description of the field attribute of each field corresponding with interface to be tested, research content, content and initial source code,
And by the field that either field attribute is order class or state class is selected in the field determined be aiming field;
If there is no association between the different content coding of the aiming field, generate and each described research content
Corresponding abnormal coding, if having the research content that there is association between the research content of the aiming field, generate with
The corresponding abnormal coding of each described research content, and will have related research content connection composition assembly coding;
It is determined that with each corresponding test source code of coding, by the initial source of the whole test source codes determined and other fields
Code connects into test source code set by preset order, and by this gather in each coding describe to be connected with corresponding content and tested
Use-case, the coding includes research content, abnormal coding and assembly coding.
Preferably, after obtaining the test case, also include:
It is the corresponding test case of the field of state class or order class to judge whether to have obtained with each field attribute, such as
Fruit is that then the total quantity based on field generates the test case of corresponding oversized frame and ultrashort frame.
Preferably, also include:
Mathematical Modeling corresponding with each field is set up, the Mathematical Modeling includes description, the field sequence of interface to be tested
Number, the description of field description, field attribute, research content, content, the relevance between research content and initial source code;
The Mathematical Modeling of each field is entered in GESTE interface configuration files, corresponding Mathematical Modeling .XML is generated
File to the information that Mathematical Modeling is included for extracting.
Preferably, also include:
By select in the field determined field attribute be data class field, and by the part field store to specify
Position.
Preferably, abnormal coding corresponding with research content each described is generated, including:
Determine the number of bits of each research content;
It is determined that whole binary codings corresponding with the number of bits, and determine two different from the research content
Scale coding is corresponding abnormal coding.
A kind of Test cases technology device, including:
Information determination module, for determining the field attribute of corresponding with interface to be tested each field, research content, interior
Hold description and initial source code, and be by the field that either field attribute is order class or state class is selected in the field determined
Aiming field;
Coding generation module, if for there is no association between the different content coding of the aiming field, generated
Abnormal coding corresponding with research content each described, if having between the research content of the aiming field the presence of association
Research content, then generate abnormal coding corresponding with research content each described, and will have related research content connection group
Into assembly coding;
First use-case generation module, for determining and each corresponding test source code of coding, by the whole test determined
The initial source code of source code and other fields connects into test source code set by preset order, and by this gather in each coding with it is right
Answer content to describe connection and obtain test case, the coding includes research content, abnormal coding and assembly coding.
Preferably, also include:
Second use-case generation module, for obtaining the test case after, judge whether to have obtained and each field
Attribute is the corresponding test case of the field of state class or order class, if it is, the total quantity generation based on field is corresponding
The test case of oversized frame and ultrashort frame.
Preferably, also include:
Message processing module, is used for:Mathematical Modeling corresponding with each field is set up, the Mathematical Modeling includes to be tested
The description of interface, the relevance between field sequence number, field description, field attribute, research content, content description, research content
And initial source code;The Mathematical Modeling of each field is entered in GESTE interface configuration files, corresponding Mathematical Modeling is generated
.XML file to the information that Mathematical Modeling is included for extracting.
Preferably, also include:
Field memory module, for by the field that field attribute is data class is selected in the field determined, and should
Part field is stored to specified location.
Preferably, encoding generation module includes:
Coding signal generating unit, is used for:Determine the number of bits of each research content;It is determined that with the binary digit
The corresponding whole binary codings of number, and determine that the binary codings different from the research content are corresponding abnormal coding.
The invention provides a kind of method for generating test case and device, wherein the method include:It is determined that trying with to be measured
The field attribute of corresponding each field of mouth, research content, content are described and initial source code, and are chosen by the field determined
It is aiming field to go out the field that arbitrary field attribute is order class or state class;If the different content coding of the aiming field
Between there is no association, then generate it is corresponding with research content each described it is abnormal encodes, if the content of the aiming field
There is the research content that there is association between coding, then generate abnormal coding corresponding with research content each described, and will tool
Related research content connection composition assembly coding;It is determined that with each corresponding test source code of coding, by the whole determined
The initial source code of test source code and other fields connects into test source code set by preset order, and by this gather in each coding
Describe to be connected with corresponding content and obtain test case, the coding includes research content, abnormal coding and assembly coding.The present invention
In technical scheme disclosed in embodiment, the field of each state class or order class is obtained, and the content included based on the field is compiled
The situation of code generates corresponding abnormal coding and assembly coding, is finally based on the generation that all codings realize test case, so as to
Interface testing use-case can be automatically generated, without the need for software test personnel longer time design test case interface is spent, and
Correspondence test case can be generated with Content-based retrieval, abnormal coding and assembly coding, it is contemplated that the positive reason in interface testing
There is the situation of association in condition, abnormal conditions and interfield, so as to the test case that ensure that generation can cover software interface
Normal demand and exception handling ability, further increase the adequacy of test case.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of method for generating test case provided in an embodiment of the present invention;
Fig. 2 is one layer of decomposition process figure in a kind of method for generating test case provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of Test cases technology device provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is referred to, a kind of flow chart of method for generating test case provided in an embodiment of the present invention is it illustrates, can be with
Including:
S11:It is determined that the field attribute of each field corresponding with interface to be tested, research content, content are described and initial
Source code, and be aiming field by the field that either field attribute is order class or state class is selected in the field determined.
Wherein, field attribute includes order class, state class and data class, and research content can be N systems set in advance
Data encoding, such as N can be 2, and content description is one-to-one, such as the corresponding content of research content 0001 with research content
Be described as going alone tracking effectively, 0010 correspondence fusion tracking effectively etc., and initial source code is the corresponding source code of the field, and existing
There is correspondence concept in technology unanimously, to will not be described here.
S12:If there is no association between the different content coding of aiming field, generate corresponding with each research content
Abnormal coding, if having the research content that there is association between the research content of aiming field, generate and each content
The corresponding abnormal coding of coding, and will have related research content connection composition assembly coding.
Specifically, above-mentioned steps can include procedure below:Determine whether the research content of aiming field is more than first
1, if it is not, then abnormal coding corresponding with each research content is directly generated, if it is, needing to judge in different
Hold between coding with the presence or absence of association, if there is no having related research content, then directly generate and each research content
Corresponding abnormal coding, if with the research content that there is association, not only to generate corresponding with each research content different
Often coding, will also have related research content connection composition assembly coding, such as have related two research contents difference
For 1111 and 1110, then corresponding assembly coding is then 11111110;There is association concept one corresponding with prior art herein
Cause, including the corresponding content of research content describes content corresponding with another research content and describes and realizes same work(jointly
Can, changes of the corresponding content description of research content can cause the change that the corresponding content of another research content describes
Deng.
In addition, the quantity of test point is the quantity of the whole codings for obtaining, so as to realize test to each test point
The acquisition of source code and subsequent step.
S13:It is determined that with each corresponding test source code of coding, by the whole test source codes determined and other fields just
Stock code connects into test source code set by preset order, and by this gather in each coding describe to be connected with corresponding content and obtain
Test case, coding includes research content, abnormal coding and assembly coding.
Test source code is set in advance with the corresponding relation of coding, therefore can directly be determined based on the corresponding relation
With each corresponding test source code of coding, preset order can be that the arrangement in advance for each field setting corresponding field sequence number is suitable
Sequence, the whole test source codes determined are corresponded to the position of aiming field, and according to preset order that aiming field is corresponding
Whole test source codes are attached with the initial source code of other fields, obtain corresponding test source code set, and each is encoded
It is connected with corresponding content description and be obtained test case, wherein each coding is connected into such as research content with corresponding content description
For 0001, content is described as fusion tracking effectively, then connect and obtain (0001, fusion tracking is effective).
It is further to note that right if necessary to generate for the field of state class or order class to each field attribute
Test case is answered, then can successively choose each field as aiming field execution step S12 and step S13, it is complete so as to realize
Portion's field attribute is the generation of the test case of the field of state class or order class, specifically, can arrange variable i, i=1
Correspondence first needs to generate the field of test case, and often realizes the generation of a field test case, i=i+1, and returns
Execution step S12 is returned, so as to realize that the circulation of test case of different field is generated.
It is further to note that above-mentioned technical proposal provided in an embodiment of the present invention can be based on Applied layer interface agreement
Realize test data auto generation.
In technical scheme disclosed in the embodiment of the present invention, the field of each state class or order class is obtained, and based on the word
The situation of the research content that section is included generates corresponding abnormal coding and assembly coding, is finally based on all codings and realizes that test is used
The generation of example such that it is able to automatically generate interface testing use-case, without the need for software test personnel longer time design test is spent
Use-case interface, and correspondence test case can be generated with Content-based retrieval, abnormal coding and assembly coding, it is contemplated that interface is surveyed
There is the situation of association in the normal condition, abnormal conditions and interfield in examination, so as to the test case that ensure that generation can be covered
The normal demand and exception handling ability of lid software interface, further increases the adequacy of test case.
In addition, above-mentioned technical proposal disclosed in the present application can effectively reduce software test personnel using in design interface test
Workload in example, and the coverage of the test case for interface protocol of interface testing is effectively improved, effectively evade
For the problem of the omission point that composite class interface testing use-case occurs, the validity of interface testing is enhanced.
A kind of method for generating test case provided in an embodiment of the present invention, after obtaining test case, can also include:
It is the corresponding test case of the field of state class or order class to judge whether to have obtained with each field attribute, such as
Fruit is that then the total quantity based on field generates the test case of corresponding oversized frame and ultrashort frame.
If each field attribute has been generated for the corresponding test case of the field of state class or order class, based on word
The total quantity of section generates the test case of oversized frame and ultrashort frame, and the test case of oversized frame adds several fields and correspondence letter
Cause there is unnecessary field in interface corresponding field to be tested after breath, the test case of ultrashort frame reduces several fields and right
Answer after information so that lack due field in interface corresponding field to be tested, so as to be based on the test case to be measured trying is known
Mouth is for oversized frame and the disposal ability of this abnormal conditions of ultrashort frame.
A kind of method for generating test case provided in an embodiment of the present invention, can also include:
Mathematical Modeling corresponding with each field is set up, Mathematical Modeling includes description, field sequence number, the word of interface to be tested
Relevance and initial source code between segment description, field attribute, research content, content description, research content;
The Mathematical Modeling of each field is entered in GESTE interface configuration files, corresponding Mathematical Modeling .XML is generated
File to the information that Mathematical Modeling is included for extracting.
Founding mathematical models, model can be as follows:[the description of interface to be tested;Field sequence number;Field description;Field belongs to
Property;Research content;Content is described;Relevance between content description, initial source code];By the mathematical modulo catalog of each field
Enter in GESTE interface configuration files, Mathematical Modeling .XML file is generated, with the letter included in the Mathematical Modeling for need field
Directly extract from Mathematical Modeling .XML file during breath, facilitate the storage and extraction of information.Wherein, interface to be tested
Description can be the information source that interface to be tested correspondence is received, and field sequence number can be ranked up in advance for field and obtain
Correspondence sequence number, field description can be the title of field.
Specifically, by above- mentioned information corresponding with field is extracted in Mathematical Modeling .XML file can be including two-layer point
Solution, ground floor decomposes as shown in Fig. 2 wherein detailed content description includes that research content and content are described with advance during Data Enter
The combining characters string that the mode of setting is realized;Second layer decomposition is specifically included:
S31:Judge to whether there is separator "/" in combining characters string, if it is, execution step S32, if it is not, then
Execution step S33;
S32:Combining characters string is partitioned into into multiple subtrees, execution step S33 according to separator "/";
S33:Judge in combining characters string that (correspondence step S32) is in (the no situation of correspondence step S31) or each subtree
It is no to there is separator ", ", if it is present execution step S34, if it is not, then execution step S35;
S34:According to separator ", ", by combining characters string (the no situation of correspondence step S31) or each subtree, (correspondence is walked
Rapid S32) it is partitioned into multiple subtrees or multiple leaves, execution step S35;
S35:Whether judge in each subtree (the no situation of correspondence step S31) or each leaf (correspondence step S32)
There is separator "-", if it is present each subtree or each leaf are divided into into multiple leaves or many according to separator "-"
Individual sub- leaf, completes segmentation, otherwise, it is determined that the result after the as segmentation of combining characters string;And coding is after the completion of splitting
For research content, word is content description.A kind of method for generating test case provided in an embodiment of the present invention, can also wrap
Include:
By select in the field determined field attribute be data class field, and by the part field store to specify
Position.
Because the field of data class need not automatically generate correspondence test case, therefore can be stored to set in advance
Specified location, so that when needed can be directly by specified location quick obtaining to this part field.
A kind of method for generating test case provided in an embodiment of the present invention, generates abnormal volume corresponding with each research content
Code, can include:
Determine the number of bits of each research content;
It is determined that whole binary codings corresponding with number of bits, and determine the binary codings different from research content
For corresponding abnormal coding.
Above-mentioned steps are illustrated, the such as number of bits of research content is 3, then corresponding to there can be following binary system to compile
Code:000th, 001,010,011,100,101,110,111, and research content includes:000th, 001,010,011, then it is abnormal to encode
Including 100,101,110,111.Thereby, it is possible to quickly and easily get abnormal coding.
The embodiment of the present invention additionally provides a kind of Test cases technology device, as shown in figure 3, can include:
Information determination module 11, for determine the field attribute of corresponding with interface to be tested each field, research content,
Content is described and initial source code, and by selecting the field that either field attribute is order class or state class in the field determined
For aiming field;
Coding generation module 12, if for there is no association between the different content coding of aiming field, generate and
The corresponding abnormal coding of each research content, if having the research content that there is association between the research content of aiming field,
Abnormal coding corresponding with each research content is then generated, and will have related research content connection composition assembly coding;
First use-case generation module 13, for determining and each corresponding test source code of coding, the whole determined is surveyed
The initial source code of examination source code and other fields connects into test source code set by preset order, and by this gather in each coding with
Corresponding content describes connection and obtains test case, and coding includes research content, abnormal coding and assembly coding.
A kind of Test cases technology device provided in an embodiment of the present invention, can also include:
Second use-case generation module, for obtaining test case after, judge whether to have obtained and each field attribute
For the corresponding test case of field of state class or order class, if it is, the total quantity based on field generates corresponding overlength
The test case of frame and ultrashort frame.
A kind of Test cases technology device provided in an embodiment of the present invention, can also include:
Message processing module, is used for:Mathematical Modeling corresponding with each field is set up, Mathematical Modeling includes interface to be tested
Description, field sequence number, field description, field attribute, research content, content description, the relevance between research content and just
Stock code;The Mathematical Modeling of each field is entered in GESTE interface configuration files, corresponding Mathematical Modeling .XML text is generated
Part to the information that Mathematical Modeling is included for extracting.
A kind of Test cases technology device provided in an embodiment of the present invention, can also include:
Field memory module, for by the field that field attribute is data class is selected in the field determined, and should
Part field is stored to specified location.
A kind of Test cases technology device provided in an embodiment of the present invention, coding generation module can include:
Coding signal generating unit, is used for:Determine the number of bits of each research content;It is determined that corresponding with number of bits
Whole binary codings, and determine that the binary codings different from research content are corresponding abnormal coding.
The explanation of relevant portion in a kind of Test cases technology device provided in an embodiment of the present invention refers to of the invention real
The detailed description of corresponding part in a kind of method for generating test case of example offer is provided, be will not be described here.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or using the present invention.To this
Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty most wide
Scope.
Claims (10)
1. a kind of method for generating test case, it is characterised in that include:
It is determined that the description of the field attribute of each field corresponding with interface to be tested, research content, content and initial source code, and by
It is aiming field that the field that either field attribute is order class or state class is selected in the field determined;
If there is no association between the different content coding of the aiming field, generate corresponding with research content each described
Abnormal coding, if having the research content that there is association between the research content of the aiming field, generate and each
The corresponding abnormal coding of the research content, and will have related research content connection composition assembly coding;
It is determined that with each corresponding test source code of coding, by the initial source code of the whole test source codes determined and other fields by
Preset order connects into test source code set, and by this gather in each coding describe to be connected with corresponding content and obtain test use
Example, the coding includes research content, abnormal coding and assembly coding.
2. method according to claim 1, it is characterised in that after obtaining the test case, also include:
It is the corresponding test case of the field of state class or order class to judge whether to have obtained with each field attribute, if
It is that then the total quantity based on field generates the test case of corresponding oversized frame and ultrashort frame.
3. method according to claim 1, it is characterised in that also include:
Mathematical Modeling corresponding with each field is set up, the Mathematical Modeling includes description, field sequence number, the word of interface to be tested
Relevance and initial source code between segment description, field attribute, research content, content description, research content;
The Mathematical Modeling of each field is entered in GESTE interface configuration files, corresponding Mathematical Modeling .XML file is generated
For extracting to the information that Mathematical Modeling is included.
4. method according to claim 1, it is characterised in that also include:
It is the field of data class by field attribute is selected in the field determined, and the part field is stored to specific bit
Put.
5. method according to claim 1, it is characterised in that generate abnormal volume corresponding with research content each described
Code, including:
Determine the number of bits of each research content;
It is determined that whole binary codings corresponding with the number of bits, and determine the binary systems different from the research content
It is encoded to corresponding abnormal coding.
6. a kind of Test cases technology device, it is characterised in that include:
Information determination module, retouches for the field attribute of determination each field corresponding with interface to be tested, research content, content
Address initial source code, and be target by the field that either field attribute is order class or state class is selected in the field determined
Field;
Coding generation module, if for the aiming field different content coding between there is no association, generate with often
The corresponding abnormal coding of the individual research content, if having the content that there is association between the research content of the aiming field
Coding, then generate abnormal coding corresponding with research content each described, and the related research content connection of tool is grouped
Compile in collaboration with code;
First use-case generation module, for determining and each corresponding test source code of coding, by the whole test source codes determined
Connect into test source code set by preset order with the initial source code of other fields, and by this gather in each coding it is interior with corresponding
Hold description connection and obtain test case, the coding includes research content, abnormal coding and assembly coding.
7. device according to claim 6, it is characterised in that also include:
Second use-case generation module, for obtaining the test case after, judge whether to have obtained and each field attribute
For the corresponding test case of field of state class or order class, if it is, the total quantity based on field generates corresponding overlength
The test case of frame and ultrashort frame.
8. device according to claim 6, it is characterised in that also include:
Message processing module, is used for:Mathematical Modeling corresponding with each field is set up, the Mathematical Modeling includes interface to be tested
Description, field sequence number, field description, field attribute, research content, content description, the relevance between research content and just
Stock code;The Mathematical Modeling of each field is entered in GESTE interface configuration files, corresponding Mathematical Modeling .XML text is generated
Part to the information that Mathematical Modeling is included for extracting.
9. device according to claim 6, it is characterised in that also include:
Field memory module, for by selecting the field that field attribute is data class in the field determined, and by the part
Field is stored to specified location.
10. device according to claim 6, it is characterised in that coding generation module includes:
Coding signal generating unit, is used for:Determine the number of bits of each research content;It is determined that with the number of bits pair
The whole binary codings answered, and determine that the binary codings different from the research content are corresponding abnormal coding.
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 true CN106610899A (en) | 2017-05-03 |
CN106610899B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423222A (en) * | 2017-08-08 | 2017-12-01 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus for determining test coverage |
CN115952100A (en) * | 2023-01-10 | 2023-04-11 | 北京百度网讯科技有限公司 | Interface test method, device, system, electronic equipment and storage medium |
Citations (6)
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 |
-
2016
- 2016-12-30 CN CN201611262868.4A patent/CN106610899B/en active Active
Patent Citations (6)
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 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107423222A (en) * | 2017-08-08 | 2017-12-01 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus for determining test coverage |
CN115952100A (en) * | 2023-01-10 | 2023-04-11 | 北京百度网讯科技有限公司 | Interface test method, device, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106610899B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104657140B (en) | Code generating method and device | |
CN106777644B (en) | Automatic generation method and device for power plant identification system code | |
CN107341399B (en) | Method and device for evaluating security of code file | |
CN109710237A (en) | A kind of online modification method of calibration and equipment based on customized two-dimentional report | |
CN106294222A (en) | A kind of method and device determining PCIE device and slot corresponding relation | |
CN109800258A (en) | Data file dispositions method, device, computer equipment and storage medium | |
CN105471581A (en) | Identity verification method and device | |
CN102981882B (en) | Analytic method and device | |
CN105630801A (en) | Method and apparatus for detecting deviated user | |
CN107945064A (en) | A kind of service order numbering generation method and device | |
CN108460068A (en) | Method, apparatus, storage medium and the terminal that report imports and exports | |
CN106934011A (en) | A kind of structuring analysis method and device of JSON data | |
CN105718527A (en) | Method and device for generating review examination questions | |
CN108519929A (en) | A kind of intelligent substation bus protection configuration management and control CRC check method and device | |
CN106610899A (en) | Test case generation method and device | |
CN104572999A (en) | Heterogeneous data based detecting method and device for fault data | |
CN106210026A (en) | The control method of distributed file system multi-client catalogue quota precision and system | |
CN109213976A (en) | The female poor reorganization and expansion configuration file otherness comparative approach of intelligent substation, system and equipment | |
CN106294825A (en) | A kind of excel data managing method and system, client, service end | |
CN107634765A (en) | A kind of Internet of Things coding method and system | |
CN106658034A (en) | File storage and reading method and device | |
CN102855297B (en) | A kind of method of control data transmission and connector | |
CN103164526B (en) | The generation method of test report and device | |
CN109726204A (en) | A kind of data information management method and device based on self-defining data table | |
CN111538750A (en) | Information restoration method and device, computer system and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |