CN107832212A - Automatic testing method and device, readable medium and storage controller - Google Patents
Automatic testing method and device, readable medium and storage controller Download PDFInfo
- Publication number
- CN107832212A CN107832212A CN201711063823.9A CN201711063823A CN107832212A CN 107832212 A CN107832212 A CN 107832212A CN 201711063823 A CN201711063823 A CN 201711063823A CN 107832212 A CN107832212 A CN 107832212A
- Authority
- CN
- China
- Prior art keywords
- test assignment
- test
- parameter
- assignment
- task
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 269
- 238000000034 method Methods 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 10
- 238000010276 construction Methods 0.000 claims description 9
- 230000001960 triggered effect Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 230000005055 memory storage Effects 0.000 claims description 3
- 238000010998 test method Methods 0.000 abstract 1
- 230000008569 process Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
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
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)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention provides an automatic test method, an automatic test device, a readable medium and a storage controller, wherein the method comprises the following steps: constructing a first test task and a second test task in a Jenkins system; the first test task corresponds to a first service system, and the second test task corresponds to a second service system; setting the parameter type corresponding to the first test task as a random parameter type, and associating the first test task with the second test task; starting the first test task, and generating target random parameters according to the random parameter type corresponding to the first test task; acquiring service data corresponding to the first service system by using the started first test task; and starting a second test task according to the target random parameter, and processing the service data by using the second service system corresponding to the second test task. The scheme can improve the efficiency of automatic testing.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of automated testing method, device, computer-readable recording medium and deposit
Store up controller.
Background technology
TestNG is the automated test frame for testing java application, and it uses Java and object-oriented, branch
Comprehensive class testing is held, and configures simple and flexible, tester and developer is more easily write test script.
When carrying out automatic test using TestNG, if having data interaction between two application systems, for example, application system
System A is responsible for gathered data and submitted, and application system B is responsible for receiving data and audited, and typically by pre-setting preset parameter, makes
Obtain application system A and the data of collection are submitted into application system B automatically.
In the process, when interaction data has uniqueness requirement, it is necessary to take manual type to repair preset parameter
Change, therefore reduce the efficiency of automatic test.
The content of the invention
The embodiments of the invention provide a kind of automated testing method, device, computer-readable recording medium and storage control, can improve
The efficiency of automatic test.
In a first aspect, the embodiments of the invention provide a kind of automated testing method, including:
The first test assignment and the second test assignment are built in Jenkins systems;Wherein, first test assignment with
First operation system is corresponding, and second test assignment is corresponding with the second operation system;
Parameter type corresponding to first test assignment is arranged to random parameter type, and the described first test is appointed
Business and second test assignment are associated;
Start first test assignment, the random parameter type according to corresponding to first test assignment, generation
Target random parameter;
Using first test assignment of startup, business datum corresponding to first operation system is obtained;
According to the target random parameter, start the second test assignment, and utilize institute corresponding to second test assignment
The second operation system is stated to handle the business datum.
Preferably,
It is described to be associated first test assignment and second test assignment, including:
Determine parameter identification corresponding to first test assignment;
According to the parameter identification, triggering command corresponding to first test assignment is generated;
Using the triggering command of generation as triggering command corresponding to second test assignment, so that described first surveys
Trial is engaged in and second test assignment is associated.
Preferably,
It is described that second test assignment is started according to the target random parameter, including:
The target random parameter is passed into second test assignment using the first test assignment;
By the target random parameter of transmission, triggering command corresponding to second test assignment is triggered;
According to triggering command corresponding to second test assignment of triggering, start second test assignment.
Preferably,
It is described the first test assignment and the second test assignment are built in Jenkins systems before, further comprise:
Get parms and transmit plug-in unit, and the parameter of acquisition is transmitted into plug-in unit and is deployed in the Jenkins systems;
The Jenkins systems after restarting deployment, form task constructing environment;
It is described to build the first test assignment and the second test assignment in Jenkins systems, including:
In the task constructing environment, first test assignment and second test assignment are built.
Second aspect, the embodiments of the invention provide a kind of automatic test device, including:Task construction unit, task
Associative cell, start unit and processing unit;Wherein,
The task construction unit, for building the first test assignment and the second test assignment in Jenkins systems;Its
In, first test assignment is corresponding with the first operation system, and second test assignment is corresponding with the second operation system;
The task associative cell, for parameter type corresponding to first test assignment to be arranged into random parameter class
Type, and first test assignment and second test assignment are associated;
The start unit, for starting first test assignment, according to corresponding to first test assignment
Random parameter type, target random parameter is generated, and using first test assignment started, obtain the first business system
Business datum corresponding to system;
The processing unit, for according to the target random parameter, starting the second test assignment, and utilize described second
Second operation system is handled the business datum corresponding to test assignment.
Preferably,
The task associative cell, for determining parameter identification corresponding to first test assignment;According to the parameter
Mark, triggering command corresponding to first test assignment is generated, and surveyed the triggering command of generation as described second
Triggering command corresponding to trial business, so that first test assignment and second test assignment are associated.
Preferably,
The processing unit, for the target random parameter to be passed into second test using the first test assignment
Task;By the target random parameter of transmission, triggering command corresponding to second test assignment is triggered, and according to triggering
Second test assignment corresponding to triggering command, start second test assignment.
Preferably,
Further comprise:Environment deployment unit;Wherein, the environment deployment unit, plug-in unit is transmitted for getting parms, and
The parameter of acquisition is transmitted into plug-in unit to be deployed in the Jenkins systems, the Jenkins systems after restarting deployment
System, form task constructing environment;
The task construction unit, in the task constructing environment, build first test assignment and described
Second test assignment.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, including execute instruction, when the place of storage control
When managing the device execution execute instruction, any described method in the storage control perform claim requirement 1 to 4.
Fourth aspect, the embodiments of the invention provide a kind of storage control, including:Processor, memory and bus;Institute
State memory to be used to store execute instruction, the processor is connected with the memory by the bus, when the storage control
During device operation processed, the execute instruction of memory storage described in the computing device, so that the storage control performs
Any described method in Claims 1-4.
The embodiments of the invention provide a kind of automated testing method, device, computer-readable recording medium and storage control, by dividing
Not Gou Jian corresponding with the first operation system and the second operation system the first test assignment and the second test assignment, and by first survey
Trial is engaged in and the second test assignment is associated, and it is random parameter class to set parameter type corresponding to the first test assignment
Type.After the first test assignment is started, target random parameter corresponding with random parameter type can be generated, then using startup
The first test assignment, obtain business datum corresponding to the first operation system, then according to the target random parameter of generation, start
Second test assignment, you can handled using the second test assignment business datum.Due to starting the first test assignment every time
When, random parameter is automatically generated, the random parameter of generation will not violate the requirement of data uniqueness, without again by artificial
Mode is modified to preset parameter, so as to improve the efficiency of automatic test.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart for automated testing method that one embodiment of the invention provides;
Fig. 2 is a kind of flow chart for automated testing method that another embodiment of the present invention provides;
Fig. 3 is a kind of structural representation for automatic test device that one embodiment of the invention provides;
Fig. 4 is a kind of structural representation for automatic test device that another embodiment of the present invention provides.
Embodiment
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
Part of the 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 on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of automated testing method, this method can include following step
Suddenly:
Step 101:The first test assignment and the second test assignment are built in Jenkins systems;Wherein, described first survey
Trial business is corresponding with the first operation system, and second test assignment is corresponding with the second operation system;
Step 102:Parameter type corresponding to first test assignment is arranged to random parameter type, and by described
One test assignment and second test assignment are associated;
Step 103:Start first test assignment, the random parameter class according to corresponding to first test assignment
Type, generate target random parameter;
Step 104:Using first test assignment of startup, business number corresponding to first operation system is obtained
According to;
Step 105:According to the target random parameter, start the second test assignment, and utilize second test assignment
Corresponding second operation system is handled the business datum.
In above-described embodiment, appointed by building the first test corresponding with the first operation system and the second operation system respectively
Business and the second test assignment, and the first test assignment and the second test assignment are associated, and the first test assignment is set
Corresponding parameter type is random parameter type.After the first test assignment is started, it can generate corresponding with random parameter type
Target random parameter, then using the first test assignment of startup, business datum corresponding to the first operation system is obtained, then
According to the target random parameter of generation, start the second test assignment, you can using the second test assignment to business datum at
Reason.During due to starting the first test assignment every time, random parameter is automatically generated, the random parameter of generation will not violate data only
The requirement of one property, without being modified again by manual type to preset parameter, so as to improve the efficiency of automatic test.
In one embodiment of the invention, the embodiment of step 102, it can include:
Determine parameter identification corresponding to first test assignment;
According to the parameter identification, triggering command corresponding to first test assignment is generated;
Using the triggering command of generation as triggering command corresponding to second test assignment, so that described first surveys
Trial is engaged in and second test assignment is associated.
For example, the first test assignment and the second test assignment built in Jenkins be respectively testA and
TestB, the parameter identification for determining testA is projectName, and testA triggering command, the triggering command of generation are generated with this
It is as follows:
Echo%projectName%
Ant-DprojectName=%projectName%-f build.xml runOne
Then, this trigger command is also served as to testB trigger command, appointed the first test assignment and the second test with this
Business is associated, and is associated two test assignments from there through same parameter, is easy to two the automatic of test assignment to hold
OK, so as to being advantageous to improve the efficiency tested automatically.
In one embodiment of the invention, the embodiment of step 105, it can include:
The target random parameter is passed into second test assignment using the first test assignment;
By the target random parameter of transmission, triggering command corresponding to second test assignment is triggered;
According to triggering command corresponding to second test assignment of triggering, start second test assignment.
Herein, after the first test assignment has performed, its corresponding target random parameter is passed into the second test
Task.Because the first test assignment triggering command corresponding with the second test assignment is generated according to same parameter identification,
Then triggering command corresponding to the second test assignment can be triggered when receiving target random parameter, thus start the second test and appoint
Business, thus the first test assignment be finished after can perform the second test assignment automatically, so as to be advantageous to improve what is tested automatically
Efficiency.
In one embodiment of the invention, before step 101, it may further include:
Get parms and transmit plug-in unit, and the parameter of acquisition is transmitted into plug-in unit and is deployed in the Jenkins systems;
The Jenkins systems after restarting deployment, form task constructing environment;
It is described to build the first test assignment and the second test assignment in Jenkins systems, including:
In the task constructing environment, first test assignment and second test assignment are built.
For example, Parameterized Trigger plugin plug-in units, installation are installed first in Jenkins systems
The plug-in unit can be inquired about in management-plug-in management of Jenkins systems afterwards, then restarting Jenkins systems makes plug-in unit come into force,
Suitable task constructing environment is formed, then builds the first test assignment and the second test assignment under the task constructing environment,
Be advantageous to the parameter transmission between the test assignment of later stage first and the second test assignment.
As shown in Fig. 2 the embodiments of the invention provide a kind of automated testing method, this method can include following step
Suddenly:
Step 201:Get parms and transmit plug-in unit, and the parameter of acquisition is transmitted into plug-in unit and is deployed in the Jenkins
In system, and the Jenkins systems after boot portion administration again, form task constructing environment.
Herein, Parameterized Trigger plugin plug-in units are installed first in Jenkins systems, after installation
The plug-in unit can be inquired about in management-plug-in management of Jenkins systems, then restarting Jenkins systems makes plug-in unit come into force, shape
Into suitable task constructing environment.
Step 202:In the task constructing environment, first test assignment and second test assignment are built.
For example, the first test assignment and the second test assignment that are built in Jenkins are respectively testA and testB.
Step 203:Parameter type corresponding to first test assignment is arranged to random parameter type, and described in determination
Parameter identification corresponding to first test assignment, according to the parameter identification, generate triggering corresponding to first test assignment and refer to
Order.
Step 204:Using the triggering command of generation as triggering command corresponding to second test assignment, so that institute
State the first test assignment and second test assignment is associated.
In step 203 and step 204, testA is chosen first " parametrization building process ", and parameter corresponding to selection
Type is " Random String Parameter ", testA parameter type thus to be arranged into random parameter type, and incited somebody to action
Parameter nomenclature is projectName, using this generate testA triggering command as:Echo%projectName%
Ant-DprojectName=%projectName%-f build.xml runOne
The triggering command is inputted into structure order corresponding to testA, then in configuration testA " after increase structure
" Trigger parameterized build on other projects ", in " Projects to are chosen in operating procedure "
Input testB in build ", " selected under Add Parameters " " Current build Parameters ", and will
Triggering command corresponding to testA is inputted into structure order corresponding to testB, is associated testA and testB with this.
Step 205:Start first test assignment, the random parameter class according to corresponding to first test assignment
Type, target random parameter is generated, and using first test assignment started, obtain industry corresponding to first operation system
Business data.
Herein, " Build with Parameter " build testA, thus generate target random parameter for click.In addition,
If testA is arranged into timing in advance to perform, need not now click on again " Build with Parameter ", and system can root
Performed automatically according to the time of setting.
Step 206:According to the target random parameter, start the second test assignment, and utilize second test assignment
Corresponding second operation system is handled the business datum.
After testA is finished, target random parameter can be passed to testB, testB is triggered with this.
When TestNG obtains Jenkins incoming random parameters, it can be got parms by suite xml configurations, specifically may be used
Realized by following procedure language:
<Xml version=" 1.0 " encoding=" YTF-8 ">
<Suite name=" projectManagement " parallel=" false ">
<Test name=" addProject ">
<Parameter name=" projectName " value=" $ { projectName } "/>
<classes>
<Classname=" com.inspur.testcase.projectmanage.projectManagement "/>
</classes>
</test><!—Test-->
</suite><!—Suite-->
In embodiments of the present invention, it can at least be realized by following program language and random parameter is used in Java code:
@Parameters({"projectName"})
@Test
Public void addProject(String projectName)throws InterruptedException
Login login=new Login (driver);
login.loginSystem("testurl","users","password");
Menu menu=new Menu (driver);
Menu.clickMenu (" project management ");
ProjectManage pro=new ProjectManage (driver);
Pro.addProject (projectName, " checking and approving class ")
As shown in figure 3, the embodiments of the invention provide a kind of automatic test device, including:Task construction unit 301,
Task associative cell 302, start unit 303 and processing unit 304;Wherein,
The task construction unit 301, appoint for building the first test assignment and the second test in Jenkins systems
Business;Wherein, first test assignment is corresponding with the first operation system, second test assignment and the second operation system phase
It is corresponding;
The task associative cell 302, for parameter type corresponding to first test assignment to be arranged to join at random
Several classes of types, and first test assignment and second test assignment are associated;
The start unit 303, for starting first test assignment, according to institute corresponding to first test assignment
Random parameter type is stated, generates target random parameter, and using first test assignment started, obtain first business
Business datum corresponding to system;
The processing unit 304, for according to the target random parameter, starting the second test assignment, and described in utilizing
Second operation system is handled the business datum corresponding to second test assignment.
In one embodiment of the invention, the task associative cell 302, for determining corresponding to first test assignment
Parameter identification;According to the parameter identification, triggering command corresponding to first test assignment is generated, and the described of generation is touched
Send instructions as triggering command corresponding to second test assignment, so that first test assignment and second test are appointed
Business is associated.
In one embodiment of the invention, the processing unit 304, for using the first test assignment that the target is random
Parameter passes to second test assignment;By the target random parameter of transmission, second test assignment pair is triggered
The triggering command answered, and the triggering command according to corresponding to second test assignment of triggering, start second test assignment.
As shown in figure 4, in one embodiment of the invention, the device may further include:Environment deployment unit 401;Its
In,
The environment deployment unit 401, plug-in unit is transmitted for getting parms, and the parameter of acquisition is transmitted into plug-in unit portion
Administration the Jenkins systems after restarting deployment, forms task constructing environment in the Jenkins systems;
The task construction unit 301, in the task constructing environment, building first test assignment and institute
State the second test assignment.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, including execute instruction, when the processor of storage control is held
During the row execute instruction, the storage control performs the method that any of the above-described embodiment of the present invention provides.
The embodiment of the present invention additionally provides a kind of storage control, including:Processor, memory and bus;The storage
Device is used to store execute instruction, and the processor is connected with the memory by the bus, when the storage control is transported
During row, the execute instruction of memory storage described in the computing device, so that the storage control performs the present invention
The method that any of the above-described embodiment provides.
In summary, the more than present invention each embodiment at least has the advantages that:
1st, in embodiments of the present invention, by building respectively and the first operation system and the second operation system corresponding first
Test assignment and the second test assignment, and the first test assignment and the second test assignment are associated, and set first to survey
Parameter type corresponding to trial business is random parameter type.After the first test assignment is started, it can generate and random parameter type
Corresponding target random parameter, then using the first test assignment of startup, obtain business number corresponding to the first operation system
According to then according to the target random parameter of generation, the second test assignment of startup, you can using the second test assignment to business datum
Handled.During due to starting the first test assignment every time, random parameter is automatically generated, the random parameter of generation will not be violated
The requirement of data uniqueness, without being modified again by manual type to preset parameter, so as to improve automatic test
Efficiency.
2nd, in embodiments of the present invention, parameter identification corresponding to the first test assignment is determined, according to the parameter identification of determination,
Generate triggering command corresponding to the first test assignment, and using this triggering command as triggering command corresponding to the second test assignment,
So that the first test assignment and the second test assignment are associated, it is easy to the automatic execution of two test assignments, so as to be advantageous to
Improve the efficiency tested automatically.
3rd, in embodiments of the present invention, after the first test assignment has performed, its corresponding target random parameter is passed
The second test assignment is passed, starts the second test assignment, it is thus automatic after the first test assignment is finished to perform the second survey
Trial is engaged in, so as to be advantageous to improve the efficiency tested automatically.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including
Other identical factor in the process of the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
- A kind of 1. automated testing method, it is characterised in that including:The first test assignment and the second test assignment are built in Jenkins systems;Wherein, first test assignment and first Operation system is corresponding, and second test assignment is corresponding with the second operation system;Parameter type corresponding to first test assignment is arranged to random parameter type, and by first test assignment and Second test assignment is associated;Also include:Start first test assignment, the random parameter type according to corresponding to first test assignment, generate target Random parameter;Using first test assignment of startup, business datum corresponding to first operation system is obtained;According to the target random parameter, start the second test assignment, and utilize corresponding to second test assignment described the Two operation systems are handled the business datum.
- 2. according to the method for claim 1, it is characterised in thatIt is described to be associated first test assignment and second test assignment, including:Determine parameter identification corresponding to first test assignment;According to the parameter identification, triggering command corresponding to first test assignment is generated;Using the triggering command of generation as triggering command corresponding to second test assignment, so that first test is appointed Business and second test assignment are associated.
- 3. according to the method for claim 2, it is characterised in thatIt is described that second test assignment is started according to the target random parameter, including:The target random parameter is passed into second test assignment using the first test assignment;By the target random parameter of transmission, triggering command corresponding to second test assignment is triggered;According to triggering command corresponding to second test assignment of triggering, start second test assignment.
- 4. according to the method for claim 1, it is characterised in thatIt is described the first test assignment and the second test assignment are built in Jenkins systems before, further comprise:Get parms and transmit plug-in unit, and the parameter of acquisition is transmitted into plug-in unit and is deployed in the Jenkins systems;The Jenkins systems after restarting deployment, form task constructing environment;It is described to build the first test assignment and the second test assignment in Jenkins systems, including:In the task constructing environment, first test assignment and second test assignment are built.
- A kind of 5. automatic test device, it is characterised in that including:Task construction unit, task associative cell, start unit and Processing unit;Wherein,The task construction unit, for building the first test assignment and the second test assignment in Jenkins systems;Wherein, First test assignment is corresponding with the first operation system, and second test assignment is corresponding with the second operation system;The task associative cell, for parameter type corresponding to first test assignment to be arranged into random parameter type, And first test assignment and second test assignment are associated;The start unit, it is described random according to corresponding to first test assignment for starting first test assignment Parameter type, target random parameter is generated, and using first test assignment started, obtain first operation system pair The business datum answered;The processing unit, for according to the target random parameter, starting the second test assignment, and utilize the described second test Second operation system is handled the business datum corresponding to task.
- 6. device according to claim 5, it is characterised in thatThe task associative cell, for determining parameter identification corresponding to first test assignment;According to the parameter identification, Triggering command corresponding to first test assignment is generated, and using the triggering command of generation as second test assignment Corresponding triggering command, so that first test assignment and second test assignment are associated.
- 7. device according to claim 6, it is characterised in thatThe processing unit, appoint for the target random parameter to be passed into second test using the first test assignment Business;By the target random parameter of transmission, triggering command corresponding to second test assignment is triggered, and according to triggering Triggering command corresponding to second test assignment, start second test assignment.
- 8. device according to claim 5, it is characterised in thatFurther comprise:Environment deployment unit;Wherein,The environment deployment unit, plug-in unit is transmitted for getting parms, and the parameter of acquisition is transmitted into plug-in unit and is deployed in institute State in Jenkins systems, the Jenkins systems after restarting deployment, form task constructing environment;The task construction unit, in the task constructing environment, building first test assignment and described second Test assignment.
- 9. a kind of computer-readable recording medium, including execute instruction, described to deposit when execute instruction described in the computing device of storage control Store up any described method in controller perform claim requirement 1 to 4.
- 10. a kind of storage control, including:Processor, memory and bus;The memory is used to store execute instruction, institute Processor is stated to be connected by the bus with the memory, when the storage control is run, the computing device institute The execute instruction of memory storage is stated, so that any described side in storage control perform claim requirement 1 to 4 Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711063823.9A CN107832212A (en) | 2017-11-02 | 2017-11-02 | Automatic testing method and device, readable medium and storage controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711063823.9A CN107832212A (en) | 2017-11-02 | 2017-11-02 | Automatic testing method and device, readable medium and storage controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107832212A true CN107832212A (en) | 2018-03-23 |
Family
ID=61650537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711063823.9A Pending CN107832212A (en) | 2017-11-02 | 2017-11-02 | Automatic testing method and device, readable medium and storage controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107832212A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579468A (en) * | 2020-12-28 | 2021-03-30 | 中国建设银行股份有限公司 | Method and device for testing service system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04102128A (en) * | 1990-08-21 | 1992-04-03 | Nec Corp | Testing device for information processor |
CN101655817A (en) * | 2009-09-24 | 2010-02-24 | 成都市华为赛门铁克科技有限公司 | Method and apparatus for testing graphical user interface |
CN101727393A (en) * | 2009-12-29 | 2010-06-09 | 青岛海信宽带多媒体技术有限公司 | Method for dynamically testing embedded system software |
CN104375937A (en) * | 2014-11-19 | 2015-02-25 | 福建亿榕信息技术有限公司 | Continuous integration method and system of automated testing results |
-
2017
- 2017-11-02 CN CN201711063823.9A patent/CN107832212A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04102128A (en) * | 1990-08-21 | 1992-04-03 | Nec Corp | Testing device for information processor |
CN101655817A (en) * | 2009-09-24 | 2010-02-24 | 成都市华为赛门铁克科技有限公司 | Method and apparatus for testing graphical user interface |
CN101727393A (en) * | 2009-12-29 | 2010-06-09 | 青岛海信宽带多媒体技术有限公司 | Method for dynamically testing embedded system software |
CN104375937A (en) * | 2014-11-19 | 2015-02-25 | 福建亿榕信息技术有限公司 | Continuous integration method and system of automated testing results |
Non-Patent Citations (2)
Title |
---|
佚名: "Jenkins不同job之间传递参数", 《HTTPS://WWW.CNBLOGS.COM/LIU-KE/P/6700182.HTML》 * |
佚名: "Jenkins同参数Job无法进入排队的问题解决", 《HTTPS://WWW.JIANSHU.COM/P/E9A89A3F2D71》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112579468A (en) * | 2020-12-28 | 2021-03-30 | 中国建设银行股份有限公司 | Method and device for testing service system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105302716B (en) | Test method, device under the development mode of interflow | |
CN106528424B (en) | Test method and test platform based on background system service or interface | |
CN109960643B (en) | Code testing method and device | |
US8914679B2 (en) | Software testing automation framework | |
CN102880532B (en) | Cloud technology-based test system and method | |
US8839107B2 (en) | Context based script generation | |
CN106484623A (en) | A kind of method of software test, apparatus and system | |
CN108959068A (en) | Software interface testing method, device and storage medium | |
CN108228452B (en) | Test method and test device based on simple factory mode | |
CN108845940A (en) | A kind of enterprise information system automated function test method and system | |
CN103279419A (en) | Automation version verifying method and system based on B/S structural system | |
CN112799782B (en) | Model generation system, method, electronic device and storage medium | |
CN104360951A (en) | Script testing method and device | |
CN107506294A (en) | Visualize automated testing method, device, storage medium and computer equipment | |
CN100520732C (en) | Performance test script generation method | |
CN104133768A (en) | Program code review method and program code review device | |
CN109977012A (en) | Joint debugging test method, device, equipment and the computer readable storage medium of system | |
CN114237754B (en) | Data loading method and device, electronic equipment and storage medium | |
CN111459504A (en) | Intelligent contract processing method, device, equipment and storage medium | |
CN113220597B (en) | Test method, test device, electronic equipment and storage medium | |
CN107832212A (en) | Automatic testing method and device, readable medium and storage controller | |
CN112527468A (en) | Alliance chain one-stop type automatic deployment and test method and system | |
CN106933743A (en) | A kind of method of testing and device | |
CN116069334B (en) | Cloud-protogenesis-based online development and code hosting method and system | |
CN116974874A (en) | Database testing method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180323 |
|
RJ01 | Rejection of invention patent application after publication |