CN106874205A - A kind of automated function test devices and methods therefor in continuous integrating - Google Patents
A kind of automated function test devices and methods therefor in continuous integrating Download PDFInfo
- Publication number
- CN106874205A CN106874205A CN201710107915.6A CN201710107915A CN106874205A CN 106874205 A CN106874205 A CN 106874205A CN 201710107915 A CN201710107915 A CN 201710107915A CN 106874205 A CN106874205 A CN 106874205A
- Authority
- CN
- China
- Prior art keywords
- test
- code
- storehouse
- newest
- temporary designator
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Abstract
The invention discloses the automated function test devices and methods therefor in a kind of continuous integrating, including receiver module, for receiving the newest code submitted to, newest code is stored in temporary designator storehouse and test and management module is triggered;Test and management module, for sending test request to temporary designator storehouse, receives the test code that temporary designator storehouse returns, and test code includes test class libraries and test case;Foundation test code building test assignment is simultaneously sent to testing execution module;Output display is carried out to test result;Testing execution module, for sending newest code request to temporary designator storehouse, receives the newest code that temporary designator storehouse returns;By the packing of newest code, install, functional test is carried out to newest code according to test assignment, generation test result returns to test and management module.The newest code that the present invention can every time be submitted to according to staff carries out functional test automatically, saves manpower, accelerates test speed, improves testing efficiency.
Description
Technical field
The present invention relates to program test technical field, the automated function test dress in more particularly to a kind of continuous integrating
Put and its method.
Background technology
Continuous integrating during system development, refers to all once being surveyed after newest code each time is submitted to
Examination, so as to find newest code bug as early as possible, greatly reduces the problem during system integration, makes the development efficiency of complex software higher,
And the software that can be disposed can be at any time issued, strengthens the confidence of developer.
During current continuous integrating, artificial test is mainly used, retouched according in test case by tester
The code stated performs test step by step, obtains the comparing of actual result and expected result.Labor intensive, the testing time is long, test
Efficiency is low, and influence development progress.
Therefore, how a kind of automated function test dress saved in manpower, the continuous integrating of raising testing efficiency is provided
Put and its method be those skilled in the art need at present solve problem.
The content of the invention
It is an object of the invention to provide the automated function test devices and methods therefor in a kind of continuous integrating, being capable of foundation
The newest code that staff submits to every time carries out functional test automatically, saves manpower, accelerates test speed, improves test effect
Rate.
In order to solve the above technical problems, the invention provides the automated function test device in a kind of continuous integrating, bag
Include:
Receiver module, the newest code for receiving the newest code submitted to, be stored in temporary designator storehouse and touched
Hair test and management module;
The test and management module, for sending test request to the temporary designator storehouse, receives the temporary designator storehouse
The test code of return, the test code includes test class libraries and test case;Tested according to the test code building
Task is simultaneously sent to testing execution module;Output display is carried out to the test result;
The testing execution module, for sending newest code request to the temporary designator storehouse, receives the interim generation
The described newest code that code storehouse returns;The newest code is packed, is installed, according to the test assignment to described newest
Code carries out functional test, and generation test result returns to the test and management module.
Preferably, including multiple testing execution modules;
The test and management module is specifically included:
Test request unit, for sending test request to the temporary designator storehouse, receives the temporary designator storehouse and returns
Test code, the test code include test class libraries and test case;
Task generation unit, for the test code to be divided, obtains multistage test code;Respectively according to each section
Test code building multiple test assignment is simultaneously respectively sent to each testing execution module;
As a result display unit, is collected and is carried out defeated for the test result to testing execution module return each described
Go out display, if test all passes through, the newest code is committed into code library is stored.
Preferably, each described testing execution module is located in a test machine respectively.
Preferably, 4~6 testing execution modules are specifically included.
In order to solve the above technical problems, present invention also offers a kind of automated function test method in continuous integrating,
Including:
Receiver module receives the newest code submitted to, the newest code is stored in temporary designator storehouse, and trigger survey
Examination management module;
The test and management module sends test request to the temporary designator storehouse, receives what the temporary designator storehouse returned
Test code, the test code includes test class libraries and test case;
The test and management module is according to the test code building test assignment and sends to testing execution module;
The testing execution module sends newest code request to the temporary designator storehouse, receives the temporary designator storehouse and returns
The described newest code for returning;The newest code is packed, is installed, the newest code is entered according to the test assignment
Row functional test, generation test result returns to the test and management module and is shown.
Preferably, the test and management module is according to the test code building test assignment and sends to test execution mould
The process of block is specially:
The test code is divided, multistage test code is obtained;
Code building multiple test assignments are tested according to each section and be respectively sent to multiple testing execution modules respectively;
Accordingly, the test and management module is converged after receiving the test result that each described testing execution module is returned
Total and carry out output display, if test all passes through, the newest code is committed into code library is stored.
The invention provides the automated function test devices and methods therefor in a kind of continuous integrating, including receiver module,
Test and management module and testing execution module, after receiver module receives the newest code of submission, are stored in temporary designator
In storehouse, and test and management module is triggered, test and management module obtains test code from temporary designator storehouse, and accordingly generates test
Task is sent to testing execution module, after testing execution module obtains the newest code of submission from temporary designator storehouse, will be newest
Code is packed, installed, and functional test is carried out to the newest code according to the test assignment for receiving, and then returns test result
Returning test and management module carries out output display.It can be seen that, staff only needs to be input into newest code and will be write in early stage
Test case be stored in temporary designator storehouse, the newest code that can every time be submitted to according to staff of the present invention enters automatically
Row functional test, improves the automaticity in software test procedure, greatlys save manpower, accelerates test speed, carries
High testing efficiency, it is to avoid due to testing efficiency it is low and to the influence of development process.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to institute in prior art and embodiment
The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also obtain according to these accompanying drawings
Obtain other accompanying drawings.
The structural representation of the automated function test device in a kind of continuous integrating that Fig. 1 is provided for the present invention;
The flow chart of the process of the automated function test method in a kind of continuous integrating that Fig. 2 is provided for the present invention.
Specific embodiment
Core of the invention is to provide the automated function test devices and methods therefor in a kind of continuous integrating, being capable of foundation
The newest code that staff submits to every time carries out functional test automatically, saves manpower, accelerates test speed, improves test effect
Rate.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Shown in Figure 1 the invention provides the automated function test device in a kind of continuous integrating, Fig. 1 is this hair
A kind of structural representation of the automated function test device in the continuous integrating of bright offer;The device includes:
Receiver module 1, newest code for receiving the newest code submitted to, be stored in temporary designator storehouse 4 and triggered
Test and management module 2;
Test and management module 2, for sending test request to temporary designator storehouse 4, receives the test that temporary designator storehouse 4 returns
Code, test code includes test class libraries and test case;Held according to test code building test assignment and transmission to test
Row module 3;Output display is carried out to test result;
Wherein, program file of the test case here comprising the test content for needing to carry out, the test code is by working
Personnel are pre-stored within temporary designator storehouse 4.In addition, directly test code can be sent to test as test assignment holding here
Row module 3, it is also possible to issued as test assignment after being further processed to test code, specifically using which kind of mode
The present invention is not especially limited.
In addition, temporary designator storehouse here is for the interim test for placing the new newest code and newest code submitted to
Code, certainly, test code is positioned in files different in temporary designator storehouse from the new newest code submitted to.
Testing execution module 3, for sending newest code request to temporary designator storehouse 4, receives what temporary designator storehouse 4 returned
Newest code;Newest code is packed, is installed, functional test, generation test are carried out to newest code according to test assignment
Result returns to test and management module 2.Preferably, the device includes multiple testing execution modules 3;
Test and management module 2 is specifically included:
Test request unit, for sending test request to temporary designator storehouse 4, receives the test that temporary designator storehouse 4 returns
Code, test code includes test class libraries and test case;
Task generation unit, for test code to be divided, obtains multistage test code;Respectively according to each section of test
Code building multiple test assignment is simultaneously respectively sent to each testing execution module 3;
As a result display unit, for the test result that each testing execution module 3 is returned to be collected and exported
It has been shown that, if test all passes through, newest code is committed into code library is stored.
It is understood that it is divided into some by by a test assignment, respectively by multiple testing execution modules 3 simultaneously
Row is performed, and can greatly improve the speed of test.
In addition, only when test all pass through when, just can be shown that the newest code of the submission has no problem, can store to
In code library, if there is test not pass through, newest code is returned.Returning here can include:It is newest by what is submitted to before
The newest code of temporary designator storehouse memory storage before code output display, and deletion, certainly, as long as will not be not by test most
Fresh code is stored to code library, specifically how to return treatment, and the present invention is not especially limited.
Wherein, test result here may include test log etc., and certainly, this is not limited by the present invention.
Preferably, each testing execution module 3 is located in a test machine respectively.I.e. test and management module 2 with connect
Module 1 is received to be located on a main frame, and remaining each testing execution module 3 is located on a test machine respectively.Certainly, for convenience
Waste of resource is managed and avoided, test and management module 2 and each testing execution module 3 can be arranged on same main frame.
Which kind of specifically it is not construed as limiting using the mode present invention.
Preferably, 4~6 testing execution modules 3 are specifically included.The quantity of testing execution module 3 can be according to specific
Need and actual conditions sets itself, the present invention is not especially limited to this.
The invention provides the automated function test device in a kind of continuous integrating, including receiver module, test and management
Module and testing execution module, after receiver module receives the newest code of submission, are stored in temporary designator storehouse, and touch
Hair test and management module, test and management module obtains test code from temporary designator storehouse, and accordingly generates test assignment transmission
To testing execution module, after testing execution module obtains the newest code of submission from temporary designator storehouse, newest code is carried out
Packing, installation, functional test is carried out according to the test assignment for receiving to the newest code, and test result then is returned into testing tube
Reason module carries out output display.It can be seen that, the test that staff only needs to be input into newest code and will be write in early stage is used
Example is stored in temporary designator storehouse, and the newest code that the present invention can every time be submitted to according to staff carries out function survey automatically
Examination, improves the automaticity in software test procedure, greatlys save manpower, accelerates test speed, improves test
Efficiency, it is to avoid due to testing efficiency it is low and to the influence of development process.
Shown in Figure 2 present invention also offers a kind of automated function test method in continuous integrating, Fig. 2 is this
The flow chart of the process of the automated function test method in a kind of continuous integrating that invention is provided.The method includes:
Step s101:Receiver module receives the newest code submitted to, newest code is stored in temporary designator storehouse, and touched
Hair test and management module;
Step s102:Test and management module sends test request to temporary designator storehouse, receives the survey that temporary designator storehouse returns
Examination code, test code includes test class libraries and test case;
Step s103:Test and management module is according to test code building test assignment and sends to testing execution module;
Step s104:Testing execution module sends newest code request to temporary designator storehouse, receives temporary designator storehouse and returns
Newest code;Newest code is packed, is installed, functional test is carried out to newest code according to test assignment, generation is surveyed
Test result returns to test and management module and is shown.
Wherein, the process of step s103 is specially:
Test code is divided, multistage test code is obtained;
Code building multiple test assignments are tested according to each section and be respectively sent to multiple testing execution modules respectively;
Accordingly, test and management module is collected and is carried out after receiving the test result of each testing execution module return
Output display, if test all passes through, newest code is committed into code library is stored.
The invention provides a kind of automated function test method in continuous integrating, including receiver module, test and management
Module and testing execution module, after receiver module receives the newest code of submission, that is, trigger test and management module, test
Management module obtains test code from temporary designator storehouse, and accordingly generates test assignment and send to testing execution module, test
After performing module obtains the newest code of submission from temporary designator storehouse, newest code is packed, is installed, according to what is received
Test assignment carries out functional test to the newest code, and test result return test and management module then is carried out into output display.
It can be seen that, staff only needs to be input into newest code and is stored in temporary designator storehouse i.e. in the test case that early stage will write
Can, the newest code that the present invention can every time be submitted to according to staff carries out functional test automatically, improves software test
Automaticity in journey, greatlys save manpower, accelerates test speed, improve testing efficiency, it is to avoid due to test
Inefficiency and to the influence of development process.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
Also, it should be noted that in this manual, term " including ", "comprising" or its any other variant be intended to contain
Lid nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those
Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there is other identical element in process, method, article or equipment including the key element.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention.
Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The scope most wide for causing.
Claims (6)
1. the automated function test device in a kind of continuous integrating, it is characterised in that including:
Receiver module, for receiving the newest code submitted to, the newest code is stored in temporary designator storehouse and survey is triggered
Examination management module;
The test and management module, for sending test request to the temporary designator storehouse, receives the temporary designator storehouse and returns
Test code, the test code include test class libraries and test case;According to the test code building test assignment
And send to testing execution module;Output display is carried out to the test result;
The testing execution module, for sending newest code request to the temporary designator storehouse, receives the temporary designator storehouse
The described newest code for returning;The newest code is packed, is installed, according to the test assignment to the newest code
Functional test is carried out, generation test result returns to the test and management module.
2. device according to claim 1, it is characterised in that including multiple testing execution modules;
The test and management module is specifically included:
Test request unit, for sending test request to the temporary designator storehouse, receives the survey that the temporary designator storehouse returns
Examination code, the test code includes test class libraries and test case;
Task generation unit, for the test code to be divided, obtains multistage test code;Respectively according to each section of test
Code building multiple test assignment is simultaneously respectively sent to each testing execution module;
As a result display unit, shows for being collected to the test result that testing execution module each described is returned and being carried out output
Show, if test all passes through, the newest code is committed into code library is stored.
3. device according to claim 2, it is characterised in that each described testing execution module is located at a test respectively
In machine.
4. device according to claim 2, it is characterised in that specifically include 4~6 testing execution modules.
5. a kind of automated function test method in continuous integrating, it is characterised in that including:
Receiver module receives the newest code submitted to, the newest code is stored in temporary designator storehouse, and trigger testing tube
Reason module;
The test and management module sends test request to the temporary designator storehouse, receives the test that the temporary designator storehouse returns
Code, the test code includes test class libraries and test case;
The test and management module is according to the test code building test assignment and sends to testing execution module;
The testing execution module sends newest code request to the temporary designator storehouse, receives what the temporary designator storehouse returned
The newest code;The newest code is packed, is installed, the newest code is entered according to the test assignment
Row functional test, generation test result returns to the test and management module and is shown.
6. method according to claim 5, it is characterised in that the test and management module is according to the test code building
Test assignment and sending to the process of testing execution module is specially:
The test code is divided, multistage test code is obtained;
Code building multiple test assignments are tested according to each section and be respectively sent to multiple testing execution modules respectively;
Accordingly, the test and management module is collected simultaneously after receiving the test result that each described testing execution module is returned
Output display is carried out, if test all passes through, the newest code is committed into code library is stored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710107915.6A CN106874205A (en) | 2017-02-27 | 2017-02-27 | A kind of automated function test devices and methods therefor in continuous integrating |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710107915.6A CN106874205A (en) | 2017-02-27 | 2017-02-27 | A kind of automated function test devices and methods therefor in continuous integrating |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106874205A true CN106874205A (en) | 2017-06-20 |
Family
ID=59169047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710107915.6A Pending CN106874205A (en) | 2017-02-27 | 2017-02-27 | A kind of automated function test devices and methods therefor in continuous integrating |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106874205A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239292A (en) * | 2017-06-28 | 2017-10-10 | 郑州云海信息技术有限公司 | It is a kind of to automate the method and apparatus for building software version |
CN109726132A (en) * | 2019-01-03 | 2019-05-07 | 京东方科技集团股份有限公司 | A kind of method for testing software and software test automation management system |
CN109828917A (en) * | 2019-01-04 | 2019-05-31 | 烽火通信科技股份有限公司 | A kind of the continuous integrating management method and system of whole process automation |
CN110688322A (en) * | 2019-11-19 | 2020-01-14 | 基蛋生物科技股份有限公司 | Integrated automation test system |
CN111309611A (en) * | 2020-02-16 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Multi-version testing method and system for software product |
CN112948258A (en) * | 2021-03-26 | 2021-06-11 | 杭州万高科技股份有限公司 | Code testing method, device, equipment and computer readable storage medium |
WO2024032781A1 (en) * | 2022-08-12 | 2024-02-15 | 虹软科技股份有限公司 | Algorithm testing method and apparatus, and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156224A (en) * | 2013-05-14 | 2014-11-19 | 广东电网公司信息中心 | Continuous integration method and system for software construction |
CN105446878A (en) * | 2015-11-09 | 2016-03-30 | 上海爱数信息技术股份有限公司 | Continuous program automated testing method |
US20160162394A1 (en) * | 2014-12-05 | 2016-06-09 | International Business Machines Corporation | Software testing optimizer |
-
2017
- 2017-02-27 CN CN201710107915.6A patent/CN106874205A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104156224A (en) * | 2013-05-14 | 2014-11-19 | 广东电网公司信息中心 | Continuous integration method and system for software construction |
US20160162394A1 (en) * | 2014-12-05 | 2016-06-09 | International Business Machines Corporation | Software testing optimizer |
CN105446878A (en) * | 2015-11-09 | 2016-03-30 | 上海爱数信息技术股份有限公司 | Continuous program automated testing method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239292A (en) * | 2017-06-28 | 2017-10-10 | 郑州云海信息技术有限公司 | It is a kind of to automate the method and apparatus for building software version |
CN109726132A (en) * | 2019-01-03 | 2019-05-07 | 京东方科技集团股份有限公司 | A kind of method for testing software and software test automation management system |
US11281570B2 (en) | 2019-01-03 | 2022-03-22 | Boe Technology Group Co., Ltd. | Software testing method, system, apparatus, device medium, and computer program product |
CN109828917A (en) * | 2019-01-04 | 2019-05-31 | 烽火通信科技股份有限公司 | A kind of the continuous integrating management method and system of whole process automation |
CN110688322A (en) * | 2019-11-19 | 2020-01-14 | 基蛋生物科技股份有限公司 | Integrated automation test system |
CN111309611A (en) * | 2020-02-16 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Multi-version testing method and system for software product |
CN112948258A (en) * | 2021-03-26 | 2021-06-11 | 杭州万高科技股份有限公司 | Code testing method, device, equipment and computer readable storage medium |
WO2024032781A1 (en) * | 2022-08-12 | 2024-02-15 | 虹软科技股份有限公司 | Algorithm testing method and apparatus, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106874205A (en) | A kind of automated function test devices and methods therefor in continuous integrating | |
CN110007902A (en) | The method and device of business processing flow configuration | |
CN107423214A (en) | Software regression testing use-case acquisition methods, device and storage medium and electronic equipment | |
CN105302554A (en) | Android system automatic program construction method and system | |
CN109426516A (en) | Software version management method and device | |
CN105094851A (en) | Method for momentarily issuing codes based on Git | |
CN109144857A (en) | Cross-platform test of heuristics method and system | |
CN104461846B (en) | The method and apparatus for detecting application program power consumption | |
US8972942B2 (en) | Unit testing an Enterprise Javabeans (EJB) bean class | |
CN106227657A (en) | A kind of continuous integrating method and apparatus virtualizing cloud system | |
CN103646104A (en) | Hard real-time fault diagnosis method and system | |
US11003574B2 (en) | Optimized testing system | |
CN109327355A (en) | Cloud storage system performance evaluation methodology, device and computer readable storage medium | |
CN102799529A (en) | Generation method of dynamic binary code test case | |
CN105279017A (en) | Cloud test platform based task distribution method, apparatus and system | |
CN104461873A (en) | Testing method and device of application programs | |
CN107783902A (en) | A kind of Selenium automated testing methods and system from coding | |
CN105912601A (en) | Partition storage method for distributed real-time memory database of energy management system | |
CN103955429B (en) | Determine the method and device of regression test scope | |
CN104636244A (en) | Server monitoring method using Java, MySQL and Shell | |
CN109597764A (en) | A kind of test method and relevant apparatus of catalogue quota | |
CN107229681A (en) | A kind of database operation method and device | |
CN105447003B (en) | A kind of parameter sets generation method and equipment | |
CN110941422B (en) | Code automatic generation method, code generator and readable storage medium | |
CN106855862A (en) | A kind of quick comparative approach and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170620 |
|
RJ01 | Rejection of invention patent application after publication |