CN107870863A - A kind of distributed automatization method of testing based on XML - Google Patents

A kind of distributed automatization method of testing based on XML Download PDF

Info

Publication number
CN107870863A
CN107870863A CN201711217099.0A CN201711217099A CN107870863A CN 107870863 A CN107870863 A CN 107870863A CN 201711217099 A CN201711217099 A CN 201711217099A CN 107870863 A CN107870863 A CN 107870863A
Authority
CN
China
Prior art keywords
measured
testing
test
model
xml
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
Application number
CN201711217099.0A
Other languages
Chinese (zh)
Other versions
CN107870863B (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.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
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 CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN201711217099.0A priority Critical patent/CN107870863B/en
Publication of CN107870863A publication Critical patent/CN107870863A/en
Application granted granted Critical
Publication of CN107870863B publication Critical patent/CN107870863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • 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/3688Test management for test execution, e.g. scheduling of test suites

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a kind of distributed automatization method of testing based on XML, method describes the model to be measured established in xml format, distributed measuring system monitors the TortoiseSVN libraries positioned at central server automatically, the information of test assignment is obtained by parsing model to be measured, further according to the description in test assignment information to test content, the instrument in corresponding test platform is called to complete test.The present invention supports the standardization editor to test item, testing process, facilitates tester to grasp testing procedure comprehensively, improves test system controllability, security.

Description

A kind of distributed automatization method of testing based on XML
Technical field
The present invention relates to a kind of distributed automatization method of testing based on XML, specifically by testing process The method that structural description realizes test automation, especially suitable for the automatic test to UAV Communication link.
Background technology
Conventional testing techniques often run into the problem of comparison is more in the automatic test application of UAV Communication link, special Not being often can only be individually to functions such as the generation of Data-Link signal, transmission and receptions when in face of existing data link communications system Tested, therefore the comprehensive and versatility of test index is unable to reach test request.
The content of the invention
It is an object of the invention to solve conventional testing techniques insufficient existing for UAV Communication link test field, carry Go out a kind of practical, more preferable automatic test approach of expansion.The present invention is in comprehensive various UAV Communication links both at home and abroad The characteristics of on the basis of, propose and devise the distributed automatization test process analysis method based on XML.The present invention is with knot Structure language decomposes to test product, is constructed in XML texts N number of comprising complete test flow and key characteristic information Testing tree, each distributed measuring system is shared to by the TortoiseSVN libraries of centrally located server, forms test Controlling stream driving test platform carries out the test of related content.
The technical solution used in the present invention is:
A kind of distributed automatization method of testing based on XML, comprises the following steps:
(1) model to be measured described with XML is created;Described model to be measured is described and organized production to be measured in the form of testing tree Product, every testing tree include a kind of key feature information of all tests of product to be measured;
(2) entreat in testing in server and build TortoiseSVN libraries, model to be measured is stored in TortoiseSVN Library;
(3) the TortoiseSVN libraries of central server periodic scan are tested, are detected after model to be measured to every The key characteristics information of testing tree is parsed, and the key feature information structure of the every testing tree parsed is treated into geodesic structure Body;
(4) structure to be measured of all testing trees is put into queue to be measured as task to be measured by test central server;
(5) distributed measuring system obtains current task to be measured, and the pass in current task to be measured from queue to be measured Key characteristic information search method database, form testing and control stream;
(6) distributed measuring system according to testing and control flow control and ask for instrument return be used as test result data, general Test result data writes model to be measured as test achievement, and changes testing tree number and reduce one, by next to be measured Business is as current task to be measured, return to step (5), to the last a task to be measured.
Wherein, the key feature information in step (1) includes:Model name to be measured, model ID to be measured, the name of product to be measured Title, product IDs to be measured, test case title, test case ID, model creation date, product version to be tested, test loop time Number and test external parameter.
Wherein, reserved location is left in every testing tree in step (1), descriptive matter in which there is added in reserved location.
Wherein, the structure to be measured of all testing trees is according to priority put into queue to be measured as to be measured in step (4) Business.
The present invention has the advantages that compared with conventional art:
(1) the standardization editor to test item, testing process is supported, facilitates tester to grasp testing procedure comprehensively;
(2) by building TortoiseSVN libraries in central server, while supporting distributed measuring system Management to XML is constrained, and improves test system controllability, security;
Brief description of the drawings:
Fig. 1 is the distributed automatization test process analysis method flow chart of the invention based on XML.
Embodiment
Below in conjunction with accompanying drawing and reality, the present invention is described further.XML of the present invention distributed automatization test Process mainly includes the following steps that:
(1) model to be measured described with XML is created;Described model to be measured is described and organized production to be measured in the form of testing tree Product, every testing tree include a kind of key feature information of all tests of product to be measured;The key feature information includes:It is to be measured Model name, model ID to be measured, the title of product to be measured, product IDs to be measured, test case title, test case ID, model wound Build date, product version to be tested, test loop number and test external parameter;And every testing tree can leave reserved place Put, descriptive matter in which there is added in reserved location.
(2) entreat in testing in server and build TortoiseSVN libraries, model to be measured is stored in TortoiseSVN Library;
(3) the TortoiseSVN libraries of central server periodic scan are tested, are detected after model to be measured to every The key characteristics information of testing tree is parsed, and the key feature information structure of the every testing tree parsed is treated into geodesic structure Body;
(4) structure to be measured of all testing trees is according to priority put into queue to be measured as to be measured by test central server Task;
(5) distributed measuring system obtains current task to be measured, and the pass in current task to be measured from queue to be measured Key characteristic information search method database, form testing and control stream;
(6) distributed measuring system according to testing and control flow control and ask for instrument return be used as test result data, general Test result data writes model to be measured as test achievement, and changes testing tree number and reduce one, by next to be measured Business is as current task to be measured, return to step (5), to the last a task to be measured.
Finally it should be noted that:The preferred embodiment of the present invention is the foregoing is only, although with reference to above-described embodiment to this Invention is described in detail, and for those skilled in the art, it can still enter to the technical scheme of previous embodiment Row modification, or equivalent substitution is carried out to other parts technical characteristic, within the spirit and principles of the invention, that is made is any Modification, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (4)

1. a kind of distributed automatization method of testing based on XML, it is characterised in that comprise the following steps:
(1) model to be measured described with XML is created;Described model to be measured is described and organized product to be measured in the form of testing tree, Every testing tree includes a kind of key feature information of all tests of product to be measured;
(2) entreat in testing in server and build TortoiseSVN libraries, model to be measured is stored in TortoiseSVN files Storehouse;
(3) the TortoiseSVN libraries of central server periodic scan are tested, every is tested after detecting model to be measured The key characteristics information of tree is parsed, and the key feature information of the every testing tree parsed is built into structure to be measured;
(4) structure to be measured of all testing trees is put into queue to be measured as task to be measured by test central server;
(5) distributed measuring system obtains current task to be measured from queue to be measured, and the key in current task to be measured is special Information retrieval method database is levied, forms testing and control stream;
(6) distributed measuring system according to testing and control flow control and ask for instrument return be used as test result data, will test Result data writes model to be measured as test achievement, and changes testing tree number and reduce one, and next task to be measured is made For current task to be measured, return to step (5), a to the last task to be measured.
A kind of 2. distributed automatization method of testing based on XML according to claim 1, it is characterised in that step (1) In key feature information include:Model name to be measured, model ID to be measured, the title of product to be measured, product IDs to be measured, test are used Example title, test case ID, model creation date, product version to be tested, test loop number and test external parameter.
A kind of 3. distributed automatization method of testing based on XML according to claim 1, it is characterised in that step (1) In in every testing tree leave reserved location, add descriptive matter in which there in reserved location.
A kind of 4. distributed automatization method of testing based on XML according to claim 1, it is characterised in that step (4) It is middle that the structure to be measured of all testing trees is according to priority put into queue to be measured as task to be measured.
CN201711217099.0A 2017-11-28 2017-11-28 XML-based distributed automatic test method Active CN107870863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711217099.0A CN107870863B (en) 2017-11-28 2017-11-28 XML-based distributed automatic test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711217099.0A CN107870863B (en) 2017-11-28 2017-11-28 XML-based distributed automatic test method

Publications (2)

Publication Number Publication Date
CN107870863A true CN107870863A (en) 2018-04-03
CN107870863B CN107870863B (en) 2020-10-16

Family

ID=61754798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711217099.0A Active CN107870863B (en) 2017-11-28 2017-11-28 XML-based distributed automatic test method

Country Status (1)

Country Link
CN (1) CN107870863B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959079A (en) * 2018-06-27 2018-12-07 郑州云海信息技术有限公司 A kind of with automatic test is leading software agile development method and system
CN109614329A (en) * 2018-12-06 2019-04-12 中国航空工业集团公司洛阳电光设备研究所 A kind of software test case auxiliary design method based on Interface Control File
CN110389868A (en) * 2019-06-24 2019-10-29 苏州浪潮智能科技有限公司 A kind of server manufacturing works complete machine diagnostic process optimization method and system
CN111381142A (en) * 2020-02-21 2020-07-07 上海御渡半导体科技有限公司 Semiconductor automatic test equipment and test method for improving test flow efficiency

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102331967A (en) * 2011-06-15 2012-01-25 烽火通信科技股份有限公司 Method for managing chip verification test cases
CN102497227A (en) * 2011-11-02 2012-06-13 深圳航天东方红海特卫星有限公司 Satellite automatic test method and system
US8655939B2 (en) * 2007-01-05 2014-02-18 Digital Doors, Inc. Electromagnetic pulse (EMP) hardened information infrastructure with extractor, cloud dispersal, secure storage, content analysis and classification and method therefor
US20140257047A1 (en) * 2013-03-06 2014-09-11 Karl A. Sillay Patient permission-based mobile health-linked information collection and exchange systems and methods
CN104182347A (en) * 2014-09-05 2014-12-03 上海斐讯数据通信技术有限公司 Test requirement automatic analysis method based on automatic test platform
CN104391796A (en) * 2014-12-05 2015-03-04 上海斐讯数据通信技术有限公司 Method for parsing test cases
CN105068929A (en) * 2015-08-06 2015-11-18 网易(杭州)网络有限公司 Test script generation method, test script generation device, testing method, testing device and testing system
US9800517B1 (en) * 2013-10-31 2017-10-24 Neil Anderson Secure distributed computing using containers

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8655939B2 (en) * 2007-01-05 2014-02-18 Digital Doors, Inc. Electromagnetic pulse (EMP) hardened information infrastructure with extractor, cloud dispersal, secure storage, content analysis and classification and method therefor
CN102331967A (en) * 2011-06-15 2012-01-25 烽火通信科技股份有限公司 Method for managing chip verification test cases
CN102497227A (en) * 2011-11-02 2012-06-13 深圳航天东方红海特卫星有限公司 Satellite automatic test method and system
US20140257047A1 (en) * 2013-03-06 2014-09-11 Karl A. Sillay Patient permission-based mobile health-linked information collection and exchange systems and methods
US9800517B1 (en) * 2013-10-31 2017-10-24 Neil Anderson Secure distributed computing using containers
CN104182347A (en) * 2014-09-05 2014-12-03 上海斐讯数据通信技术有限公司 Test requirement automatic analysis method based on automatic test platform
CN104391796A (en) * 2014-12-05 2015-03-04 上海斐讯数据通信技术有限公司 Method for parsing test cases
CN105068929A (en) * 2015-08-06 2015-11-18 网易(杭州)网络有限公司 Test script generation method, test script generation device, testing method, testing device and testing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959079A (en) * 2018-06-27 2018-12-07 郑州云海信息技术有限公司 A kind of with automatic test is leading software agile development method and system
CN109614329A (en) * 2018-12-06 2019-04-12 中国航空工业集团公司洛阳电光设备研究所 A kind of software test case auxiliary design method based on Interface Control File
CN110389868A (en) * 2019-06-24 2019-10-29 苏州浪潮智能科技有限公司 A kind of server manufacturing works complete machine diagnostic process optimization method and system
CN110389868B (en) * 2019-06-24 2022-08-12 苏州浪潮智能科技有限公司 Method and system for optimizing complete machine diagnosis process of server manufacturing factory
CN111381142A (en) * 2020-02-21 2020-07-07 上海御渡半导体科技有限公司 Semiconductor automatic test equipment and test method for improving test flow efficiency

Also Published As

Publication number Publication date
CN107870863B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN107870863A (en) A kind of distributed automatization method of testing based on XML
US11675691B2 (en) System and method for performing automated API tests
CN104077140B (en) Automation Compilation Method and compilation device for continuous integrating
CN101212362B (en) Automatic testing device and method incorporating a variety of testing tools
CN108491331A (en) Method for testing software, device, equipment and computer storage media
CN107506451A (en) abnormal information monitoring method and device for data interaction
US8904350B2 (en) Maintenance of a subroutine repository for an application under test based on subroutine usage information
CN103761189A (en) Test case management method and system
CN112506807B (en) Automatic test system for interface serving multiple systems
CN105867990A (en) Software development integration method and device thereof
CN108846020A (en) Knowledge mapping automated construction method, system are carried out based on multi-source heterogeneous data
CN103399814B (en) The method and device of automatic test
CN112363953B (en) Interface test case generation method and system based on crawler technology and rule engine
CN108540351B (en) Automatic testing method for distributed big data service
CN109710810A (en) Change management method, apparatus, equipment and storage medium
CN110532182B (en) Automatic testing method and device for virtualization platform
CN108536580A (en) Utilize the system and method for lightweight device authentication protocol test equipment
CN113032262A (en) Automatic simulation test method
CN112274913B (en) Method and device for merging game servers, storage medium and electronic device
CN112988597B (en) Automatic test visualization method and system based on state transition
CN111984529A (en) APP software compatibility automatic test method
CN111240721A (en) Method and system for monitoring software version of high-speed railway equipment
CN110780630A (en) Protocol library docking execution system suitable for Internet of things and working method
CN110032500B (en) Multi-layer nested data analysis method and device
US20210019252A1 (en) Information processing apparatus, test management method, and non-temporary computer readable medium storing program

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