CN103235759B - Method for generating test case and device - Google Patents

Method for generating test case and device Download PDF

Info

Publication number
CN103235759B
CN103235759B CN201310180339.XA CN201310180339A CN103235759B CN 103235759 B CN103235759 B CN 103235759B CN 201310180339 A CN201310180339 A CN 201310180339A CN 103235759 B CN103235759 B CN 103235759B
Authority
CN
China
Prior art keywords
interface
flow chart
configuration file
chart based
function
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
CN201310180339.XA
Other languages
Chinese (zh)
Other versions
CN103235759A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310180339.XA priority Critical patent/CN103235759B/en
Publication of CN103235759A publication Critical patent/CN103235759A/en
Application granted granted Critical
Publication of CN103235759B publication Critical patent/CN103235759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes a kind of method for generating test case, comprises the following steps:Obtain the source code of software under testing;Source code is analyzed to generate the flow chart based on interface;The configuration file of user's input is obtained, and interface testing use-case is generated according to the flow chart based on interface and configuration file.The present invention can increase coverage rate, can handle various abnormality tests, and reduce the quality risk of product.The invention also discloses a kind of Test cases technology device.

Description

Method for generating test case and device
Technical field
The present invention relates to software testing technology field, more particularly to a kind of method for generating test case and device.
Background technology
After the completion of software product ends, in order to ensure the function that can complete anticipated demand of software systems, it is necessary to soft Part is tested.Software test carries out the test of function and performance using testing tool according to testing scheme and flow to product. Typically it is required for writing use-case in test process, the various usage scenarios of software and situation is tested by use-case, protects The correct and safe operation of barrier system.Test case can also have some automation use-case generations now by manually writing Software, it can help to reduce manual labor, improve operating efficiency.
However, for baroque system, its interface function is more, and dependence is also more between interface.These There is presently no more perfect automation use-case generation scheme for the case designing of base library.Surveyed for the base library of this kind of system Examination, if each interface function that cover in system, and would reach certain branch covering rate, it is necessary to pay substantial amounts of repetition Work, while the test case redundancy designed is higher, Relationship Comparison is complicated.
The content of the invention
It is contemplated that at least solves one of technical problem present in prior art.
Therefore, it is an object of the present invention to propose a kind of method for generating test case, this method can increase covering Rate, various abnormality tests can be handled, and reduce the quality risk of product.
Second object of the present invention is to propose a kind of Test cases technology device.
To reach above-mentioned purpose, the embodiment of first aspect present invention proposes a kind of method for generating test case, including Following steps:Obtain the source code of software under testing;The source code is analyzed to generate the flow chart based on interface;It is defeated to obtain user The configuration file entered, and interface testing use-case is generated according to the flow chart based on interface and the configuration file.
Method for generating test case according to embodiments of the present invention is based on flow chart, automatically generates succinct understandable test and uses Example, can reduce the duplication of labour of Test Sample Design, improve the function coverage rate and branch covering rate of test code, redundancy Spend low, the risk of system is reduced, suitable for complication system and the simple base library of interface.
In one embodiment of the invention, the analysis source code is further to generate the flow chart based on interface Including:Analyze the source code and describe file to obtain Dot;The stream based on interface according to the Dot describes file generated Cheng Tu.
In one embodiment of the invention, the flow chart based on interface includes multiple interface nodes and each connect Parameter information corresponding to mouthful node, wherein, parameter information corresponding to the interface node include return value structure, argument structure and Point to the chained list of corresponding interface node.
In one embodiment of the invention, wherein, the configuration file includes multiple interface functions and the multiple Parameter information corresponding to interface function difference.
In one embodiment of the invention, flow chart and configuration file generation interface of the basis based on interface Test case further comprises:According to the flow chart based on interface and configuration file generation automatic generating test case Framework;The interface function that the user specifies is obtained, and is specified according to the automatic generating test case framework, the user Interface function and the flow chart based on interface generate the interface testing use-case.
The embodiment of second aspect of the present invention proposes a kind of Test cases technology device, including acquisition module, analysis mould Block and generation module.
Wherein, acquisition module is used for the source code for obtaining software under testing, and obtains the configuration file of user's input;Analysis Module is used to analyze the source code to generate the flow chart based on interface;Generation module is used for according to the stream based on interface Journey figure and configuration file generation interface testing use-case.
Test cases technology device according to embodiments of the present invention is based on flow chart, automatically generates succinct understandable test and uses Example, can reduce the duplication of labour of Test Sample Design, improve the function coverage rate and branch covering rate of test code, redundancy Spend low, the risk of system is reduced, suitable for complication system and the simple base library of interface.
In one embodiment of the invention, the analysis module further comprises:
Submodule is analyzed, file is described to obtain Dot for analyzing the source code;And
Submodule is generated, for the flow chart based on interface described in describing file generated according to the Dot.
In one embodiment of the invention, the flow chart based on interface includes multiple interface nodes and each connect Parameter information corresponding to mouthful node, wherein, parameter information corresponding to the interface node include return value structure, argument structure and Point to the chained list of corresponding interface node.
In one embodiment of the invention, wherein, the configuration file includes multiple interface functions and the multiple Parameter information corresponding to interface function difference.
In one embodiment of the invention, the generation module is according to the flow chart based on interface and the configuration File generated automatic generating test case framework, and the interface function that the user specifies is obtained, and used according to the test Example automatically generates framework, the interface function that the user specifies and the flow chart based on interface and generates the interface testing Use-case.
The additional aspect and advantage of the present invention will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention will become in the description from combination accompanying drawings below to embodiment Substantially and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of method for generating test case according to embodiments of the present invention;
Fig. 2 is Test cases technology flow chart according to embodiments of the present invention;
Fig. 3 is the flow chart according to embodiments of the present invention based on interface;
Fig. 4 is Test cases technology frame diagram according to embodiments of the present invention;With
Fig. 5 is the structural representation of Test cases technology device according to embodiments of the present invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.
Method for generating test case according to embodiments of the present invention is described below with reference to Fig. 1, is comprised the following steps:
Step S110:Obtain the source code of software under testing.
Step S120:Source code is analyzed to generate the flow chart based on interface.
Wherein, analysis source code is further comprised with generating the flow chart based on interface:
Step S121:Analysis source code describes file to obtain Dot.
Step S122:Flow chart of the file generated based on interface is described according to Dot.
Wherein, the flow chart based on interface includes parameter information corresponding to multiple interface nodes and each interface node, Wherein, parameter information corresponding to interface node includes return value structure, argument structure and the chained list for pointing to corresponding interface node.
Step S130:The configuration file of user's input is obtained, and is generated according to the flow chart based on interface and configuration file Interface testing use-case.
Wherein, further comprised according to the flow chart based on interface and configuration file generation interface testing use-case:
Step S131:According to the flow chart based on interface and configuration file generation automatic generating test case framework.
Step S132:The interface function that user specifies is obtained, and is specified according to automatic generating test case framework, user Interface function and the flow chart generation interface testing use-case based on interface.
Configuration file includes parameter information corresponding to multiple interface functions and multiple interface functions difference.
Below by taking Fig. 2 as an example to the present invention handling process be described in detail, it is to be understood that this explanation merely for Example purpose, according to an embodiment of the invention not limited to this.In Fig. 2, the source code A of software under testing is obtained first, analyzes source generation Code A, generates the flow chart B based on interface.User writes automatic generating test case configuration file, the specified interface for needing to test Function C.According to the flow chart B based on interface and the interface function C generation interface testing use-cases D for specifying needs to test.Test is used Example automatically generates framework and generates test case implementing result F according to interface testing use-case D and user's input parameter data E.
Comprise the following steps that, it is to be understood that following execution flows are merely for example purpose, according to the implementation of the present invention Example not limited to this.
Step S210:Obtain the source code of software under testing.
Step S220:Source code is analyzed to generate the flow chart based on interface.
Analysis source code needs use of the tester to test library to have certain understanding, is familiar with the call flow of test library. Fig. 3 is the storehouse call flow chart to be measured generated using dot picture description languages.Specific generation step is as follows:
Step S221:Source code is analyzed, Dot is write according to function test library call flow and describes file.Described for Dot down One example of document code:
Step S222:File is described according to Dot, using flow chart of the Dot picture description languages life based on interface, represents to treat Survey storehouse call flow.Each node includes the structure of three need records in Fig. 3:Return value structure, argument structure and sensing pair Answer the chained list of interface node.Wherein, return value structure is used for the return Value Types for preserving the function, and argument structure is defeated for preserving Enter parameter output parameter, the chained list for pointing to corresponding interface node is used for the dependence for preserving corresponding interface node, including from its His node needs the supplemental characteristic inherited.Load nodes represent loading, corresponding with the Load- > Init in program.Init nodes It is respectively directed to SetFunc1 nodes, SetFunc2 nodes, SetFunc3 nodes and Run nodes.SetFunc1 nodes, SetFunc2 Node associates successively with SetFunc3 nodes, and finally all points to Run nodes.Run nodes finally point to stop nodes.
Step S230:User writes the file of the configuration information of each function, the specified interface function for needing to test.This is matched somebody with somebody The essential information that file contains each function, including function name, function parameter list are put, also needs to determine ginseng in essential information Whether number is input parameter or output parameter.If parameter is input parameter, determine input parameter whether from upper one tune With the output parameter of function or the return value of function, if output parameter, then output parameter is defined by framework automatically.
It is a kind of form of configuration file below:
[@func]
# test function names
Test_fun:Run
# test function parameters
[.@Param]
# types
Type:int
# inputs or output parameters, and true represents input parameter, and false represents output parameter
In_param:true
# input parameters whether the output parameter from a upper function, or return value
From_func:true
[.@Param]
Step S240:According to the flow chart based on interface and configuration file generation automatic generating test case framework.
Specifically, according to the configuration file of function call in the flow chart of interface in step S220 and step S230, with reference to The configuration information of flow chart and function generates automatic generating test case framework.Automatic generating test case framework is as shown in Figure 4. Automatic generating test case framework, which receives, specifies function 1 to be measured, according to the flow chart 2 of interface and the configuration file 3 of function call, Generate the function test case 4 of various situations.
Step S250:Obtain the interface function that user specifies, the automatic generating test case frame generated according to step S240 Frame, the interface function that user specifies and the flow chart generation interface testing use-case based on interface.Each interface function is designed Input parameter data, anticipated output is obtained according to input parameter.Test case is generated according to the configuration file of user.Perform survey Example on probation, judges whether interface to be measured exports and meets expection, draw test result.
Specifically, corresponding node is inquired in the flow chart based on interface, according to the relevant information of nodes records, from The function node for needing to test starts, using the method for depth-first traversal, according to sensing corresponding interface node in each function Chained list in data, the call flow of all possible function in the flow chart based on interface is found out, for each case Generate corresponding test case.By taking run functions as an example, according to the flow chart based on interface of run functions, following survey can be generated Example on probation:
Load→Init→Run
Load→Init→SetFunc1→Run
Load→Init→SetFunc2→Run
Load→Init→SetFunc3→Run
Load→Init→SetFunc1→SetFunc2→Run
Load→Init→SetFunc1→SetFunc2→SetFunc3→Run
It is above-mentioned to list the possible implementation procedure of run functions, for every kind of implementation procedure, automatically generate corresponding test and use Example.User specifies the input parameter of each function, and expected result can be obtained according to output parameter, all may be used for the operation of every step It is whether correct legal with the return value of discriminant function, output parameter.
Method for generating test case according to embodiments of the present invention, by generating automatic generating test case framework, according to The configuration file generation interface testing use-case of user.Reduce the time for writing Test cases.Letter can comprehensively be covered The possible execution flows of number, to every kind of flow can design data, improve test coverage, reduce system bug risk. For the RD or QA of product, product can be tested in exploitation period, the quality problems of product are solved in exploitation, coding Stage, reduce solve bug cost.
Test cases technology device 100 according to embodiments of the present invention described below with reference to Fig. 5, including acquisition module 110, Analysis module 120 and generation module 130.
Wherein, acquisition module 110 is used for the source code for obtaining software under testing, and obtains the configuration file of user's input; Analysis module 120 is used to analyze source code to generate the flow chart based on interface;Generation module 130 is used for according to based on interface Flow chart and configuration file generation interface testing use-case.
Analysis module 120 further comprises analyzing submodule 121 and generates submodule 122.
Wherein, analyze submodule 121 and describe file for analyzing source code to obtain Dot;
Generation submodule 122 is used to describe flow chart of the file generated based on interface according to Dot.
Flow chart based on interface includes parameter information corresponding to multiple interface nodes and each interface node, wherein, Parameter information corresponding to interface node includes return value structure, argument structure and the chained list for pointing to corresponding interface node.
Configuration file includes parameter information corresponding to multiple interface functions and multiple interface functions difference.
In one embodiment of the invention, generation module 130 generates according to the flow chart based on interface and configuration file Automatic generating test case framework, and the interface function that user specifies is obtained, and according to automatic generating test case framework, use The interface function that family is specified and the flow chart generation interface testing use-case based on interface.
The handling process of the present apparatus is described in detail by taking Fig. 2 as an example below, it is to be understood that this explanation merely for Example purpose, according to an embodiment of the invention not limited to this.In Fig. 2, the source code A of software under testing is obtained first, analyzes source generation Code A, generates the flow chart B based on interface.User writes automatic generating test case configuration file, the specified interface for needing to test Function C.According to the flow chart B based on interface and the interface function C generation interface testing use-cases D for specifying needs to test.Test is used Example automatically generates framework and generates test case implementing result F according to interface testing use-case D and user's input parameter data E.
The specific processing step of the present apparatus is as follows, it is to be understood that following execution flows are merely for example purpose, according to this The embodiment not limited to this of invention.
Acquisition module 110 obtains the source code of software under testing.
Analysis module 120 analyzes source code to generate the flow chart based on interface.Analysis source code needs tester couple The use of test library has certain understanding, is familiar with the call flow of test library.Fig. 3 is the base generated using dot picture description languages In the flow chart of interface, the flow chart based on interface represents storehouse call flow to be measured.
Specific generation includes:Analyze submodule 121 and analyze source code, Dot is write according to function test library call flow and retouched State file.One example of document code is described down for Dot:
Generation submodule 122 describes file according to Dot, uses flow chart of the Dot picture description languages life based on interface, base Storehouse call flow to be measured is represented in the flow chart of interface.Each node includes the structure of three need records in Fig. 3:Return value knot Structure, argument structure and the chained list for pointing to corresponding interface node.Wherein, return value structure is used for the return value class for preserving the function Type, argument structure are used to preserve input parameter output parameter, and the chained list for pointing to corresponding interface node is used to preserve corresponding interface section The dependence of point, including the supplemental characteristic for needing to inherit from other nodes.Load nodes represent loading, and in program Load- > Init are corresponding.Init nodes are respectively directed to SetFunc1 nodes, SetFunc2 nodes, SetFunc3 nodes and Run sections Point.SetFunc1 nodes, SetFunc2 nodes associate successively with SetFunc3 nodes, and finally all point to Run nodes.Run is saved Point is last to point to stop nodes.
Acquisition module 110 obtains the file that user writes the configuration information of each function.Configuration file includes multiple interfaces Parameter information corresponding to function and multiple interface functions difference.The configuration file contains the essential information of each function, bag Function name, function parameter list are included, also needs to determine whether parameter is input parameter or output parameter in essential information.If Parameter is input parameter, determine input parameter whether the return value of output parameter from a upper call function or function, If output parameter, then output parameter is defined by framework automatically.
It is a kind of form of configuration file below:
[@func]
# test function names
Test_fun:Run
# test function parameters
[.@Param]
# types
Type:int
# inputs or output parameters, and true represents input parameter, and false represents output parameter
In_param:true
# input parameters whether the output parameter from a upper function, or return value
From_func:true
[.@Param]
Generation module 130 generates automatic generating test case framework according to the flow chart based on interface and configuration file.
Specifically, the letter that generation module 130 obtains according to the flow chart of interface in analysis module 120 and acquisition module 110 The configuration file that number calls, generation module 130 combine the configuration information generation automatic generating test case frame of flow chart and function Frame.Automatic generating test case framework is as shown in Figure 4.Automatic generating test case framework, which receives, specifies function 1 to be measured, according to connecing The flow chart 2 of mouth and the configuration file 3 of function call, generate the function test case 4 of various situations.
Generation module 130 obtains the interface function that user specifies, according to the automatic generating test case framework of generation, user The interface function specified and the flow chart generation interface testing use-case based on interface.To each interface function design driver Data, anticipated output is obtained according to input parameter.Test case is generated according to the configuration file of user.Implementation of test cases, Judge whether interface to be measured exports and meet expection, draw test result.
Specifically, generation module 130 inquires corresponding node in the flow chart based on interface, according to nodes records Relevant information, since the function node for needing to test, using the method for depth-first traversal, according to sensing pair in each function The data in the chained list of interface node are answered, find out the call flow of all possible function in the flow chart based on interface, it is right Corresponding test case is generated in each case.By taking run functions as an example, according to the flow chart based on interface of run functions, generation Module 130 can generate following test case:
Load→Init→Run
Load→Init→SetFunc1→Run
Load→Init→SetFunc2→Run
Load→Init→SetFunc3→Run
Load→Init→SetFunc1→SetFunc2→Run
Load→Init→SetFunc1→SetFunc2→SetFunc3→Run
It is above-mentioned to list the possible implementation procedure of run functions, for every kind of implementation procedure, automatically generate corresponding test and use Example.User specifies the input parameter of each function, and expected result can be obtained according to output parameter, all may be used for the operation of every step It is whether correct legal with the return value of discriminant function, output parameter.
Test cases technology device according to embodiments of the present invention, by generating automatic generating test case framework, according to The configuration file generation test case of user.Reduce the time for writing Test cases.Can comprehensively coverage function can Can execution flow, to every kind of flow can design data, improve test coverage, reduce system bug risk.For The RD or QA of product, product can be tested in exploitation period, the quality problems of product are solved into the rank in exploitation, coding Section, reduce the cost for solving bug.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with A variety of changes, modification can be carried out to these embodiments, replace without departing from the principles and spirit of the present invention by understanding And modification, the scope of the present invention is by appended claims and its equivalent limits.

Claims (8)

1. a kind of method for generating test case, it is characterised in that comprise the following steps:
Obtain the source code of software under testing;
The source code is analyzed to generate the flow chart based on interface;And
The configuration file of user's input is obtained, and is surveyed according to the flow chart based on interface and configuration file generation interface Example on probation;
Flow chart and configuration file generation interface testing use-case of the basis based on interface further comprise:
According to the flow chart based on interface and configuration file generation automatic generating test case framework;And
The interface function that the user specifies is obtained, and is specified according to the automatic generating test case framework, the user Interface function and the flow chart based on interface generate the interface testing use-case.
2. the method as described in claim 1, it is characterised in that described to analyze the source code to generate the flow based on interface Figure further comprises:
Analyze the source code and describe file to obtain Dot;And
The flow chart based on interface according to the Dot describes file generated.
3. method as claimed in claim 2, it is characterised in that the flow chart based on interface include multiple interface nodes with And parameter information corresponding to each interface node, wherein, parameter information corresponding to the interface node includes return value structure, ginseng Table structure and the chained list for pointing to corresponding interface node.
4. the method as described in claim any one of 1-3, it is characterised in that wherein, the configuration file includes multiple interfaces Parameter information corresponding to function and the multiple interface function difference.
A kind of 5. Test cases technology device, it is characterised in that including:
Acquisition module, for obtaining the source code of software under testing, and obtain the configuration file of user's input;
Analysis module, for analyzing the source code to generate the flow chart based on interface;And
Generation module, for according to the flow chart based on interface and configuration file generation interface testing use-case;
The generation module generates automatic generating test case frame according to the flow chart based on interface and the configuration file Frame, and the interface function that the user specifies is obtained, and specified according to the automatic generating test case framework, the user Interface function and the flow chart based on interface generate the interface testing use-case.
6. device as claimed in claim 5, it is characterised in that the analysis module further comprises:
Submodule is analyzed, file is described to obtain Dot for analyzing the source code;And
Submodule is generated, for the flow chart based on interface described in describing file generated according to the Dot.
7. device as claimed in claim 6, it is characterised in that the flow chart based on interface include multiple interface nodes with And parameter information corresponding to each interface node, wherein, parameter information corresponding to the interface node includes return value structure, ginseng Table structure and the chained list for pointing to corresponding interface node.
8. device as claimed in claim 5, it is characterised in that wherein, the configuration file include multiple interface functions and Parameter information corresponding to the multiple interface function difference.
CN201310180339.XA 2013-05-15 2013-05-15 Method for generating test case and device Active CN103235759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310180339.XA CN103235759B (en) 2013-05-15 2013-05-15 Method for generating test case and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310180339.XA CN103235759B (en) 2013-05-15 2013-05-15 Method for generating test case and device

Publications (2)

Publication Number Publication Date
CN103235759A CN103235759A (en) 2013-08-07
CN103235759B true CN103235759B (en) 2018-03-09

Family

ID=48883804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310180339.XA Active CN103235759B (en) 2013-05-15 2013-05-15 Method for generating test case and device

Country Status (1)

Country Link
CN (1) CN103235759B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631720B (en) * 2013-12-20 2016-08-17 百度在线网络技术(北京)有限公司 The generation method and apparatus of test case
CN104536431B (en) * 2014-11-27 2017-02-22 北京电子工程总体研究所 Display control method and display control device for aircraft launching process configuration
CN106326092B (en) * 2015-06-25 2019-02-19 阿里巴巴集团控股有限公司 A kind of integration test method and device
WO2017035812A1 (en) * 2015-09-02 2017-03-09 Hewlett Packard Enterprise Development Lp Replicating chain of agents
CN106528395B (en) * 2015-09-09 2019-08-23 阿里巴巴集团控股有限公司 The generation method and device of test case
CN107665170B (en) * 2016-07-29 2020-12-15 阿里巴巴(中国)有限公司 Flow testing method and device
CN106528418B (en) * 2016-10-28 2019-01-22 广东浪潮大数据研究有限公司 A kind of test method and device
CN106776349B (en) * 2017-02-07 2020-01-03 武汉斗鱼网络科技有限公司 Method and system for setting interface detection flow
CN108628729B (en) * 2017-03-15 2021-11-30 北京嘀嘀无限科技发展有限公司 Software testing method and software testing client
CN108073519B (en) * 2018-01-31 2021-02-12 百度在线网络技术(北京)有限公司 Test case generation method and device
CN108549605B (en) * 2018-04-13 2021-06-29 郑州云海信息技术有限公司 Automatic testing method
CN109857667B (en) * 2019-02-03 2021-10-08 苏州市龙测智能科技有限公司 Interface automation test method, test device, test equipment and storage medium
CN110046091B (en) * 2019-03-12 2023-10-20 创新先进技术有限公司 Automatic test method and device
CN110727597B (en) * 2019-10-15 2023-03-10 杭州安恒信息技术股份有限公司 Method for checking invalid code completion case based on log
CN112905441A (en) * 2019-12-04 2021-06-04 阿里巴巴集团控股有限公司 Test case generation method, test method, device and equipment
CN111083013B (en) * 2019-12-18 2020-11-13 北京嘀嘀无限科技发展有限公司 Test method and device based on flow playback, electronic equipment and storage medium
CN111444096B (en) * 2020-03-25 2023-05-23 北京市信息技术研究所 Interface test case generation method and device
CN112363922A (en) * 2020-11-09 2021-02-12 中国农业银行股份有限公司 Test case generation method and related equipment thereof
CN112506783A (en) * 2020-12-14 2021-03-16 建信金融科技有限责任公司 Test method, test device and storage medium
CN113377683B (en) * 2021-08-12 2022-01-28 神州数码融信软件有限公司 Software test case generation method, system, device, terminal, medium and application

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436128A (en) * 2007-11-16 2009-05-20 北京邮电大学 Software test case automatic generating method and system
CN102999320A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Automatic test case generation method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009169828A (en) * 2008-01-18 2009-07-30 Denso Corp Test case creation device and creation program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436128A (en) * 2007-11-16 2009-05-20 北京邮电大学 Software test case automatic generating method and system
CN102999320A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Automatic test case generation method and system

Also Published As

Publication number Publication date
CN103235759A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN103235759B (en) Method for generating test case and device
US10025696B2 (en) System and method for equivalence class analysis-based automated requirements-based test case generation
US9027002B2 (en) Method of converting source code and source code conversion program
US10831456B1 (en) External code integrations within a computing environment
US9454466B2 (en) Explaining partially illegal combinations in combinatorial models
US20050204241A1 (en) Method and device for analyzing software error
US20070050166A1 (en) Method and system for simulating test instruments and instrument functions
CN106415504B (en) Test cases technology system and the recording medium for recording test case
CN110297760A (en) Building method, device, equipment and the computer readable storage medium of test data
Tierno et al. Open issues for the automotive software testing
CN111158656A (en) Method and device for generating test codes based on fruit tree method
JP2006209354A (en) Inspection system for vehicle software
CN103885341B (en) Performance analysis system based on automotive performance simulator and method
CN113342692A (en) Test case automatic generation method and device, electronic equipment and storage medium
CN109144848B (en) Verilog HDL code white box test auxiliary platform and working process thereof
US8949167B2 (en) Method and device for the quality analysis of system models
CN111240978A (en) Data report generation and analysis method
CN110069414A (en) Regression testing method and system
CN110941932B (en) Demand modeling and verifying method for hardware logic design
CN109389972A (en) Quality detecting method, device, storage medium and the equipment of semantic cloud function
US8027764B2 (en) Method and system for automatic test data generation for lookup tables
CN112329124A (en) CAE model error checking method and device, computer equipment and storage medium
CN112667278A (en) Hospital medical insurance interface configuration method and system
US8914757B1 (en) Explaining illegal combinations in combinatorial models
US20150379186A1 (en) System and method for grading and selecting simulation tests using property coverage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant