CN106598853A - Method and system for automatically generating test item - Google Patents

Method and system for automatically generating test item Download PDF

Info

Publication number
CN106598853A
CN106598853A CN201611108109.2A CN201611108109A CN106598853A CN 106598853 A CN106598853 A CN 106598853A CN 201611108109 A CN201611108109 A CN 201611108109A CN 106598853 A CN106598853 A CN 106598853A
Authority
CN
China
Prior art keywords
test
service class
test event
project
tested
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.)
Pending
Application number
CN201611108109.2A
Other languages
Chinese (zh)
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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Vipshop Information 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 Guangzhou Vipshop Information And Technology Co Ltd filed Critical Guangzhou Vipshop Information And Technology Co Ltd
Priority to CN201611108109.2A priority Critical patent/CN106598853A/en
Publication of CN106598853A publication Critical patent/CN106598853A/en
Pending legal-status Critical Current

Links

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/3604Software analysis for verifying properties of programs
    • G06F11/3608Software analysis for verifying properties of programs using formal methods, e.g. model checking, abstract interpretation
    • 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)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for automatically generating a test item. The method for automatically generating the test item comprises the following steps: selecting a test item template in a template library according to a test target; scanning a tested item to obtain a service type of the tested item; using a reflecting method to obtain relevant information of the service type according to the service type; and using the test item template to generate the test item containing a test code according to the relevant information. The invention further discloses a system for automatically generating the test item. When the test item is created, the template is selected according to the test target, the service type of the tested item is obtained by the template, and the test code of the test item is created by using the reflecting method, thereby omitting the trouble of the tester to manually compile the test code, and improving the test efficiency.

Description

Automatically generate test event method and system
Technical field
The present invention relates to software testing technology field, more particularly to one kind automatically generates test event method and system.
Background technology
In existing test frame, such as TestNg, Junit, selenium etc. are bottom frames, and each business is surveyed Examination team needs the Function Test Automation framework that suitable oneself business characteristic is built on the basis of these bottom frames, further Write test item destination code.And many parts of many test events are all identicals, such as data base's configuration and operation Foundation class, the configuration being just as in most of test such as various external interfaces and test code.But it is because test event Different, Jing is often required for repeating above code, and testing efficiency is not high.
The content of the invention
Present invention is primarily targeted at providing one kind automatically generates test event method and system, it is intended to improve test effect Rate.
For achieving the above object, one kind that the present invention is provided automatically generates test event method and comprises the following steps:
Test event template is chosen in template base according to test target;
Tested project is scanned, the service class of tested project is obtained;
The relevant information of the service class is obtained using method for reflection according to the service class;
Test event of the test event template generation comprising test code is used according to the relevant information.
Preferably, the tested project of the scanning, obtaining the service class of tested project includes:
Add the configuration parameter of the tested project to the configuration file of project management tool Maven;
According to the configuration parameter, scanning obtains the service class of the tested project.
Preferably, the tested project of the scanning, obtaining the service class of tested project includes:
The bag of the service class is specified using hard coded mode;
The bag is scanned, the service class in the bag is obtained.
Preferably, the tested project of the scanning, obtaining the service class of tested project includes:
The service class is specified using hard coded mode, and specifies the method for testing to be measured of the examination service class.
Preferably, the test code includes the parameterized template with annotation, and the annotation is the parameterized template build-in test With the descriptive information of parameter.
Additionally, for achieving the above object, the present invention also provides one kind and automatically generates test event system, described to automatically generate Test event system includes:
Module is chosen, for test event template to be chosen in template base according to test target;
Scan module, for scanning tested project, obtains the service class of tested project;
Reflecting module, for obtaining the relevant information of the service class using method for reflection according to the service class;
Generation module, for using survey of the test event template generation comprising test code according to the relevant information Examination project.
Preferably, the scan module includes:
Dispensing unit, for adding the configuration ginseng of the tested project to the configuration file of project management tool Maven Number;
First scanning element, for according to the configuration parameter, scanning to obtain the service class of the tested project.
Preferably, the scan module includes:
First designating unit, for specifying the bag of the service class using hard coded mode;
Second scanning element, for scanning the bag, obtains the service class in the bag.
Preferably, the scan module includes:
Second designating unit, for specifying the service class using hard coded mode, and specifies treating for the examination service class Method of testing.
Preferably, the test code that the generation module is generated includes the parameterized template with annotation, and the annotation is described The descriptive information of parameterized template build-in test parameter.
The embodiment of the present invention in template base according to test target by choosing test event template;Scan tested item Mesh, obtains the service class of tested project;The relevant information of the service class is obtained using method for reflection according to the service class; Test event of the test event template generation comprising test code is used according to the relevant information.Such that it is able to create During test event, according to the Object selection template of test, by template according to the service class to be tested, and created using method for reflection The test code of test event is built, tester is eliminated and is write survey code manually, improve testing efficiency.
Description of the drawings
Fig. 1 is the schematic flow sheet that the present invention automatically generates test event method first embodiment;
Fig. 2 automatically generates the tested project that scans in test event method second embodiment for the present invention, obtains tested The refinement schematic flow sheet of the service class step of project;
Fig. 3 automatically generates the tested project that scans in test event method 3rd embodiment for the present invention, obtains tested The refinement schematic flow sheet of the service class step of project;
Fig. 4 is the high-level schematic functional block diagram that the present invention automatically generates test event system first embodiment;
Fig. 5 is the refinement functional module signal that the present invention automatically generates scan module in test event system second embodiment Figure;
Fig. 6 is the refinement functional module signal that the present invention automatically generates scan module in test event system 3rd embodiment Figure;
Fig. 7 is the refinement functional module signal that the present invention automatically generates scan module in test event system fourth embodiment Figure.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The present invention provides one kind and automatically generates test event method, with reference to Fig. 1, in the present invention test event side is automatically generated In method first embodiment, automatically generate test event method and comprise the following steps:
Step S10, according to test target test event template is chosen in template base;
Maven (projects pair are provided in newly-built test event by Maven Archtype (plug-in unit of item objects model) As model) template generation project.The template can only generate the single test event comprising test code and file;It is only raw Into the template of single test event framework;Or while the template of multiple test events can be generated.
It should be noted that template described in some embodiments be by gradle (a kind of automatization's construction instrument) or Ant (a kind of Java projects set up instrument) is directly creating test event.
Step S20, scans tested project, obtains the service class of tested project;
By the title for analyzing all bags of tested project one by one, the title of class is all by the search of hump naming rule The class ended up with " Service " in title.
Step S30, according to the service class relevant information of the service class is obtained using method for reflection;
Step S40, according to the relevant information test item of the test event template generation comprising test code is used Mesh.
After service class is obtained, the attribute and method of service class are obtained using reflex mechanism, further obtain the service The method of servicing of class, reuses the selected template generation of step S10 and tests code.
Specifically, in the present embodiment, the establishment project has used IDE (IDE) instruments to create.Need It is noted that some embodiments are to be carried out using autoexec or form establishment project using pure order.Further Ground, the present embodiment uses eclipse (a kind of widely used Java IDEs) to create test event, is creating A template that can generate the single test event comprising test code and file is chosen during project, by described tested Project is scanned, and searches for the class ended up with " Service " in all class names, and according to test event template generation test text Part.The class of one " com.vip.fds.executor.osp.service.RuleExecService " is for example found, according to anti- The mechanism penetrated obtains wherein all of method name and the wherein attribute of method of testing, specifically uses GetDeclaredMethods () method obtains all of method of the RuleExecService classes, further filters out all Public methods, the public methods for then screening to more than using getParameterTypes () or Parameter type inside getGenericParameterTypes () acquisition methods, further, obtain one it is entitled The method of ifHaveTheRule, and obtain the type of two parameters of ifHaveTheRule methods:First is Person (items A class in mesh) type, second Rule (class in project) type.Then according to getGenericReturnType The return value for obtaining the ifHaveTheRule methods is boolean types.Using getDeclaredConstructors () The building method that method is obtained, according to test event template, in newly-generated test file, writes described in people New sentences of RuleExecService classes, and according to the dependence object of template establishment above method, such as Person and Rule pair As, and inject in the method for ifHaveTheRule, and return value is assigned to the variables A of a boolean type, then to institute State variables A to be asserted.And the file of generation is preserved, then process the class ended up with " Service " in other class names.Test clothes Business class, and the test code of test event is created using method for reflection, eliminate tester and write the trouble for surveying code manually, Improve testing efficiency.
Further, with reference to Fig. 2, test event method first embodiment is automatically generated based on the present invention, in the present invention certainly Dynamic to generate in test event method second embodiment, described to scan tested project, obtaining the service class of tested project includes:
Step S21, to the configuration file of project management tool Maven the configuration parameter of the tested project is added;
Step S22, according to the configuration parameter, scanning obtains the service class of the tested project.
In the present embodiment, the test event is loaded by Maven configurations, is specifically existed Add the dependence to the tested project in pom.xml files.Obtained by parsing the pom.xml files in the project of establishment Take the test event and version number, find the code file of the tested project, and scan the file acquisition it is all with The class of " Service " ending, and create test code using reflex mechanism.The quilt is loaded by using Maven configuration modes Test event code, is convenient for changing the version number of tested project or tested project, improves testing efficiency.
Further, with reference to Fig. 3, test event method first embodiment is automatically generated based on the present invention, in the present invention certainly Dynamic to generate in test event method 3rd embodiment, described to scan tested project, obtaining the service class of tested project includes:
Step S23, using hard coded mode the bag of the service class is specified;
Step S24, scans the bag, obtains the service class in the bag.
In the case where bag that tested service class is located is had determined that, by changing the class specified, hard coded form refers to The position of the fixed bag, by the way that the wherein all names of acquisition are analyzed to all of file in the bag with " Service " knot The class of tail.And create test code using reflex mechanism.In the tested project generation, is loaded directly into by using hard coded mode Code, improves scan efficiency, also improves testing efficiency.
Further, test event method first embodiment is automatically generated based on the present invention, in the present invention survey is automatically generated Described to scan tested project in examination project approach fourth embodiment, obtaining the service class of tested project includes:
Step S25, using hard coded mode the service class is specified, and specifies the method for testing to be measured of the examination service class.
When the tested method for testing of tested service class is had determined that, by changing the class specified, it is done directly described Test code to the method for testing.By being done directly the test code to the method for testing, further increasing Testing efficiency.
Further, test event method first embodiment is automatically generated based on the present invention, in the present invention survey is automatically generated In the examination embodiment of project approach the 5th, the test code includes the parameterized template with annotation, and the annotation is the parameter mould The descriptive information of plate build-in test parameter.
When the test code is automatically generated using emission mechanism, while also being obtained using reflex mechanism described tested The information such as the parameter name of method for testing, parameter type and return value, annotation, and make the JSON data class annotated according to template generation band Type, while testing the incoming JSON data types of the tested method for testing in the test code.By using template generation The parameter of the JSON so that user is when test, it is not necessary to check that source code can be carried out the input of parameter, improves Testing efficiency;Simultaneously during |input paramete, because annotation can also be seen, the accuracy of parameter input is improve, improve test Efficiency.
The present invention provides one kind and automatically generates test event system, with reference to Fig. 4, in the present invention test event system is automatically generated In system first embodiment, automatically generating test event system includes:
Module 10 is chosen, for test event template to be chosen in template base according to test target;
Maven (projects pair are provided in newly-built test event by Maven Archtype (plug-in unit of item objects model) As model) template generation project.The template can only generate the single test event comprising test code and file;It is only raw Into the template of single test event framework;Or while the template of multiple test events can be generated.
It should be noted that template described in some embodiments be by gradle (a kind of automatization's construction instrument) or Ant (a kind of Java projects set up instrument) is directly creating test event.
Scan module 20, for scanning tested project, obtains the service class of tested project;
By the title for analyzing all bags of tested project one by one, the title of class is all by the search of hump naming rule The class ended up with " Service " in title.
Reflecting module 30, for obtaining the relevant information of the service class using method for reflection according to the service class;
Generation module 40, for including test code using the test event template generation according to the relevant information Test event.
After service class is obtained, the attribute and method of service class are obtained using reflex mechanism, further obtain the service The method of servicing of class, reuses selection module 10 selected template generation test code.
Specifically, in the present embodiment, the establishment project has used IDE (IDE) instruments to create.Need It is noted that some embodiments are to be carried out using autoexec or form establishment project using pure order.Further Ground, the present embodiment uses eclipse (a kind of widely used Java IDEs) to create test event, is creating Module 10 is chosen during project and chooses a template that can generate the single test event comprising test code and file, scan mould Block 20 searches for the class ended up with " Service " in all class names by being scanned to the tested project, and according to test Project templet generation module generates test file.For example find one The class of " com.vip.fds.executor.osp.service.RuleExecService ", machine of the reflecting module 30 according to reflection System obtains wherein all of method name and the wherein attribute of method of testing, specifically using getDeclaredMethods () Method obtains all of method of the RuleExecService classes, further filters out all of public methods, then to On the public methods that screen obtained using getParameterTypes () or getGenericParameterTypes () The parameter type inside method is taken, further, the method for an entitled ifHaveTheRule is obtained, and is obtained The type of two parameters of ifHaveTheRule methods:First is Person (class in project) type, second Rule (class in project) type.Then the ifHaveTheRule side is obtained according to getGenericReturnType The return value of method is boolean types.The building method obtained using getDeclaredConstructors () method, is generated Module 40 in newly-generated test file, writes the new languages of RuleExecService classes described in people according to test event template Sentence, and according to the dependence object of template establishment above method, such as Person and Rule objects, and inject ifHaveTheRule's In method, and return value is assigned to the variables A of a boolean type, then the variables A is asserted.And preserve life Into file, then process in other class names with " Service " end up class.Testing service class, and created using method for reflection The test code of test event, eliminates tester and writes the trouble for surveying code manually, improves testing efficiency.
Further, with reference to Fig. 5, test event system first embodiment is automatically generated based on the present invention, in the present invention certainly Dynamic to generate in test event system second embodiment, the scan module 20 includes:
Dispensing unit 21, for adding the configuration of the tested project to the configuration file of project management tool Maven Parameter;
First scanning element 22, for according to the configuration parameter, scanning to obtain the service class of the tested project.
In the present embodiment, the test event is loaded by Maven configurations, specific dispensing unit 21 add the dependence to the test event in pom.xml files.In the project of establishment by the parsing pom.xml files The test event and version number are obtained, the code file of the tested project, and the scanning of the first scanning element 22 institute is found State code file and obtain all classes ended up with " Service ", and test code is created using reflex mechanism.By using Maven configuration modes load the tested item code, are convenient for changing the version number of tested project or tested project, carry High testing efficiency.
Further, with reference to Fig. 6, test event system first embodiment is automatically generated based on the present invention, in the present invention certainly Dynamic to generate in test event system 3rd embodiment, the scan module 20 includes:
First designating unit 23, for specifying the bag of the service class using hard coded mode;
Second scanning element 24, for scanning the bag, obtains the service class in the bag.
In the case where bag that tested service class is located is had determined that, what the first designating unit 23 was specified by modification Class, hard coded form specifies the position of the bag, and the second scanning element 24 to all of file in the bag by being analyzed Obtain the class that wherein all names are ended up with " Service ".And create test code using reflex mechanism.By using hard coded Mode is loaded directly into the tested item code, improves scan efficiency, also improves testing efficiency.
Further, Fig. 7 is refer to, test event system first embodiment is automatically generated based on the present invention, in the present invention In automatically generating test event system fourth embodiment, the scan module 20 includes:
Second designating unit 25, for specifying the service class using hard coded mode, and specifies the examination service class Method for testing to be measured.
When the tested method for testing of tested service class is had determined that, what the second designating unit 25 was specified by modification Class, is done directly the test code to the method for testing.By being done directly the test code to the method for testing, Further increasing testing efficiency.
Further, test event system first embodiment is automatically generated based on the present invention, in the present invention survey is automatically generated In the examination embodiment of project system the 5th, the test code that the generation module is generated includes the parameterized template with annotation, the note It is interpreted as the descriptive information of the parameterized template build-in test parameter.
When the test code is automatically generated using emission mechanism, while also being obtained using reflex mechanism described tested The information such as the parameter name of method for testing, parameter type and return value, annotation, and make the JSON data class annotated according to template generation band Type, while testing the incoming JSON data types of the tested method for testing in the test code.By using template generation The parameter of the JSON so that user is when test, it is not necessary to check that source code can be carried out the input of parameter, improves Testing efficiency;Simultaneously during |input paramete, because annotation can also be seen, the accuracy of parameter input is improve, improve test Efficiency.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. one kind automatically generates test event method, it is characterised in that the test event method that automatically generates is including following step Suddenly:
Test event template is chosen in template base according to test target;
Tested project is scanned, the service class of tested project is obtained;
The relevant information of the service class is obtained using method for reflection according to the service class;
Test event of the test event template generation comprising test code is used according to the relevant information.
2. test event method is automatically generated as claimed in claim 1, it is characterised in that the tested project of the scanning, obtain Taking the service class of tested project includes:
Add the configuration parameter of the tested project to the configuration file of project management tool Maven;
According to the configuration parameter, scanning obtains the service class of the tested project.
3. test event method is automatically generated as claimed in claim 1, it is characterised in that the tested project of the scanning, obtain Taking the service class of tested project includes:
The bag of the service class is specified using hard coded mode;
The bag is scanned, the service class in the bag is obtained.
4. test event method is automatically generated as claimed in claim 1, it is characterised in that the tested project of the scanning, obtain Taking the service class of tested project includes:
The service class is specified using hard coded mode, and specifies the method for testing to be measured of the examination service class.
5. test event method is automatically generated as described in any one of Claims 1-4, it is characterised in that the test code Including the parameterized template with annotation, the annotation is the descriptive information of the parameterized template build-in test parameter.
6. one kind automatically generates test event system, it is characterised in that the test event system that automatically generates includes:
Module is chosen, for test event template to be chosen in template base according to test target;
Scan module, for scanning tested project, obtains the service class of tested project;
Reflecting module, for obtaining the relevant information of the service class using method for reflection according to the service class;
Generation module, for using test item of the test event template generation comprising test code according to the relevant information Mesh.
7. test event system is automatically generated as claimed in claim 6, it is characterised in that the scan module includes:
Dispensing unit, for adding the configuration parameter of the tested project to the configuration file of project management tool Maven;
First scanning element, for according to the configuration parameter, scanning to obtain the service class of the tested project.
8. test event system is automatically generated as claimed in claim 6, it is characterised in that the scan module includes:
First designating unit, for specifying the bag of the service class using hard coded mode;
Second scanning element, for scanning the bag, obtains the service class in the bag.
9. test event system is automatically generated as claimed in claim 6, it is characterised in that the scan module includes:
Second designating unit, for specifying the service class using hard coded mode, and specifies the to be tested of the examination service class Method.
10. test event system is automatically generated as described in any one of claim 6 to 9, it is characterised in that the generation module The test code of generation includes the parameterized template with annotation, and the annotation is the explanation letter of the parameterized template build-in test parameter Breath.
CN201611108109.2A 2016-12-05 2016-12-05 Method and system for automatically generating test item Pending CN106598853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611108109.2A CN106598853A (en) 2016-12-05 2016-12-05 Method and system for automatically generating test item

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611108109.2A CN106598853A (en) 2016-12-05 2016-12-05 Method and system for automatically generating test item

Publications (1)

Publication Number Publication Date
CN106598853A true CN106598853A (en) 2017-04-26

Family

ID=58596016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611108109.2A Pending CN106598853A (en) 2016-12-05 2016-12-05 Method and system for automatically generating test item

Country Status (1)

Country Link
CN (1) CN106598853A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427646A (en) * 2018-04-13 2018-08-21 中国民航信息网络股份有限公司 Android App automated test frames construction method based on Appium and device
CN108829601A (en) * 2018-06-21 2018-11-16 北京五八信息技术有限公司 Generate method, apparatus, equipment and the readable storage medium storing program for executing of test case structure
CN108920137A (en) * 2018-07-01 2018-11-30 甘肃万维信息技术有限责任公司 A kind of system of creation web project and code based on eclipse frame
CN109426608A (en) * 2017-08-29 2019-03-05 中国电信股份有限公司 The test method and device of Distributed Services, computer readable storage medium
WO2021164279A1 (en) * 2020-02-21 2021-08-26 上海御渡半导体科技有限公司 Semiconductor automatic test equipment for improving test flow efficiency, and testing method
CN113742249A (en) * 2021-11-05 2021-12-03 麒麟软件有限公司 Test script granulation method and system based on desktop operating system
CN115470152A (en) * 2022-11-02 2022-12-13 平安银行股份有限公司 Test code generation method, test code generation device, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807168A (en) * 2010-03-15 2010-08-18 北京航空航天大学 Testing environment of digital terminal for supporting edition compatibility and building method thereof
CN102693183A (en) * 2012-05-30 2012-09-26 瑞斯康达科技发展股份有限公司 Method and system for realizing automatic software testing
CN102760096A (en) * 2011-04-27 2012-10-31 阿里巴巴集团控股有限公司 Test data generation method, unit testing method and unit testing system
CN102929627A (en) * 2012-10-29 2013-02-13 无锡江南计算技术研究所 Automatic testing program generating method based on ATE (Automatic Test Equipment) and ATE testing method
CN104750606A (en) * 2015-03-03 2015-07-01 北京空间飞行器总体设计部 Reflection-based automated testing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807168A (en) * 2010-03-15 2010-08-18 北京航空航天大学 Testing environment of digital terminal for supporting edition compatibility and building method thereof
CN102760096A (en) * 2011-04-27 2012-10-31 阿里巴巴集团控股有限公司 Test data generation method, unit testing method and unit testing system
CN102693183A (en) * 2012-05-30 2012-09-26 瑞斯康达科技发展股份有限公司 Method and system for realizing automatic software testing
CN102929627A (en) * 2012-10-29 2013-02-13 无锡江南计算技术研究所 Automatic testing program generating method based on ATE (Automatic Test Equipment) and ATE testing method
CN104750606A (en) * 2015-03-03 2015-07-01 北京空间飞行器总体设计部 Reflection-based automated testing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
谈飞: ""基于代码生成技术的自动化测试工具的设计与实现"", 《中国优秀硕士学位论文全文数据库•信息科技辑》 *
赵军: ""基于模板的代码生成器的研究与实现"", 《长春师范学院学报(自然科学版)》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109426608A (en) * 2017-08-29 2019-03-05 中国电信股份有限公司 The test method and device of Distributed Services, computer readable storage medium
CN108427646A (en) * 2018-04-13 2018-08-21 中国民航信息网络股份有限公司 Android App automated test frames construction method based on Appium and device
CN108427646B (en) * 2018-04-13 2021-11-16 中国民航信息网络股份有限公司 Android App automatic test framework construction method and device based on Apium
CN108829601A (en) * 2018-06-21 2018-11-16 北京五八信息技术有限公司 Generate method, apparatus, equipment and the readable storage medium storing program for executing of test case structure
CN108920137A (en) * 2018-07-01 2018-11-30 甘肃万维信息技术有限责任公司 A kind of system of creation web project and code based on eclipse frame
WO2021164279A1 (en) * 2020-02-21 2021-08-26 上海御渡半导体科技有限公司 Semiconductor automatic test equipment for improving test flow efficiency, and testing method
CN113742249A (en) * 2021-11-05 2021-12-03 麒麟软件有限公司 Test script granulation method and system based on desktop operating system
CN113742249B (en) * 2021-11-05 2022-02-15 麒麟软件有限公司 Test script granulation method and system based on desktop operating system
CN115470152A (en) * 2022-11-02 2022-12-13 平安银行股份有限公司 Test code generation method, test code generation device, and storage medium

Similar Documents

Publication Publication Date Title
CN106598853A (en) Method and system for automatically generating test item
CN110764753B (en) Business logic code generation method, device, equipment and storage medium
CN108399130A (en) Automatically generate the method, apparatus, equipment and readable storage medium storing program for executing of test cases
Hartmann et al. A UML-based approach to system testing
CN103631720B (en) The generation method and apparatus of test case
CN106649103B (en) A kind of method and system of Android application program Automated Black Box Testing
US8387016B2 (en) Whitebox trace fuzzing
CN104834600B (en) A kind of method for testing Android application controls
CN109783388A (en) UI automated testing method, device and electronic equipment
CN109033843A (en) Java file dependencies analysis method and module for distributed static detection system
Vincenzi et al. JaBUTi: A coverage analysis tool for Java programs
CN105378658A (en) Automatic source code generation
CN110399299A (en) The execution method of automated test frame and test case
Torunski et al. Code style analytics for the automatic setting of formatting rules in ides: A solution to the tabs vs. spaces debate
CN117076338B (en) Method and system for dynamically debugging Linux kernel based on kprobe
Samuel et al. A novel test case design technique using dynamic slicing of UML sequence diagrams
Dal Sasso et al. Blended, not stirred: Multi-concern visualization of large software systems
Paiva et al. Towards the integration of visual and formal models for GUI testing
Hartman et al. Model driven testing-AGEDIS architecture interfaces and tools
CN109491919A (en) A kind of method for testing software and test platform
Sharma et al. Generation of automated test cases using UML modeling
Sawant et al. Construction of test cases from UML models
Satrijandi et al. Efficiency measurement of Java Android code
Nahar et al. SSTF: A novel automated test generation framework using software semantics and syntax
CN110990286A (en) BDD-based unit test system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171204

Address after: 510000 Guangzhou City, Guangzhou, Guangdong, Fangcun Avenue, one of the 314 self compiled

Applicant after: Guangzhou Pinwei Software Co., Ltd.

Address before: Liwan District Fangcun Huahai street Guangzhou city Guangdong province 510000 No. 20 self 1-5 building (only for office use)

Applicant before: Guangzhou VIPSHOP Information and Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426