CN108959079A - A kind of with automatic test is leading software agile development method and system - Google Patents

A kind of with automatic test is leading software agile development method and system Download PDF

Info

Publication number
CN108959079A
CN108959079A CN201810677872.XA CN201810677872A CN108959079A CN 108959079 A CN108959079 A CN 108959079A CN 201810677872 A CN201810677872 A CN 201810677872A CN 108959079 A CN108959079 A CN 108959079A
Authority
CN
China
Prior art keywords
test
iteration
agility
statement
test case
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
CN201810677872.XA
Other languages
Chinese (zh)
Other versions
CN108959079B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810677872.XA priority Critical patent/CN108959079B/en
Publication of CN108959079A publication Critical patent/CN108959079A/en
Application granted granted Critical
Publication of CN108959079B publication Critical patent/CN108959079B/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/3688Test management for test execution, e.g. scheduling of test suites
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

It with automatic test is leading software agile development method and system that the present invention, which provides a kind of, obtains iteration agility test case, transfers all test statements in iteration agility test case;Test statement is arranged according to the order of execution, forms test execution queue;In test execution queue, sentence monitoring point is set by the test statement of preset quantity;Iteration agility test case is run, when iteration agility test case runs to the test statement equipped with sentence monitoring point, substitution test statement is judged whether there is and executes.By sentence monitoring point being set by the test statement of preset quantity, configuring automatic test Intervention Timing in test execution queue, according to testing requirement, test environment, the factors such as test parameter adjust test statement.Test statement in iteration agility test case can be replaced, be deleted, newly-increased and sequencing.

Description

A kind of with automatic test is leading software agile development method and system
Technical field
The present invention relates to software test field more particularly to it is a kind of with automatic test be leading software agile development side Method and system.
Background technique
The open mode of traditional waterfall and existing agile development mode are not enough the utilization of automatic test, from Dynamicization is only not affected by enough attention as a kind of supplement of manual test, causes the utility value of automatic test script low Under, on the other hand, high-intensitive iteration plan causes manual test to be pressed for time, with manual test be the testing scheme dominated simultaneously Quick iterative manner cannot efficiently be completed.
Under existing development mode, automatic test script is programmed in pursuit development progress and manual test progress, causes Part script is extremely short using the period, and the defect of automatic test discovery is not by enough attention and these defects can not Immediately the active and effective modification critical function problem of development teams is instructed.Automatic test is often situated between after manual test again Enter, automatic test value is had a greatly reduced quality at this time.
Summary of the invention
In order to overcome the deficiencies in the prior art described above, it with automatic test is that leading software is quick that the present invention, which provides a kind of, Prompt development approach, method include:
Step 1 obtains iteration agility test case, transfers all test statements in iteration agility test case;
Step 2 arranges test statement according to the order of execution, forms test execution queue;
Step 3 sets sentence monitoring point for the test statement of preset quantity in test execution queue;
Step 4, runs iteration agility test case, and iteration agility test case runs to the survey equipped with sentence monitoring point When trying sentence, judges whether there is substitution test statement and execute.
Preferably, after step 4 further include:
When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test statement is run.
Preferably, after step 4 further include:
Iteration agility test case is after having executed current operation, if the test statement execution for being equipped with sentence monitoring point is replaced For test statement, the test execution queue for executing substitution test statement is saved as and substitutes test execution queue, by the replacement Test execution queue is configured to substitute iteration agility test case;
The replacement iteration agility test case is saved, and the iteration agility test case before not covering.
Preferably, after step 4 further include:
Operation substitutes iteration agility test case, substitutes iteration agility test case and runs to the survey equipped with sentence monitoring point When trying sentence, judges whether there is substitution test statement and execute;
When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test statement is run;
Substitute iteration agility test case after having executed current operation, if the test statement for being equipped with sentence monitoring point is held Row substitution test statement, the replacement test execution queue for executing substitution test statement is saved as in rear replacement test execution team Column, are configured to described in rear replacement test execution queue in rear replacement iteration agility test case;
Save described in rear replacement iteration agility test case, and the replacement iteration agility test case before not covering.
Preferably, step 4 further include:
Iteration agility test case is run, iteration agility test case runs to the test statement equipped with sentence monitoring point When, it judges whether there is substitution test statement and executes, whether the execution of the substitution test statement, which is equipped with iteration, executes condition;
When the test statement for being equipped with sentence monitoring point has substitution test statement, the execution of the substitution test statement is equipped with When iteration executes condition, obtains iteration and execute the iteration execution number that condition is related to;
When the iteration of iteration agility test case, which executes number, reaches default iteration execution number, runs the substitution and survey Try sentence.
Preferably, step 4 further include:
Iteration agility test case is run, iteration agility test case runs to the test statement equipped with sentence monitoring point When, judge whether there is increased test statement;
When being equipped with increased test statement, the execution for increasing test statement is obtained in sentence monitoring point is equipped with and tests language The execution precedence of sentence, and execute increase test statement;
After having run current iteration agility test case, the test execution queue for increasing test statement will be executed and save as increasing Add test execution queue, the increase test execution queue is configured to increase iteration agility test case;
The increase iteration agility test case is saved, and the iteration agility test case before not covering.
Preferably, step 4 further include:
Iteration agility test case is run, iteration agility test case runs to the test statement equipped with sentence monitoring point When, it judges whether there is and deletes test statement instruction;
When being equipped with deletion test statement instruction, test statement corresponding to the sentence monitoring point is deleted, and under execution One test statement;
After having run current iteration agility test case, the test execution queue for deleting test statement is saved as into deletion and is surveyed The queue of sentence test execution is tried, the deletion test statement test execution queue is configured to delete the survey of test statement iteration agility Example on probation;
The deletion test statement iteration agility test case is saved, and the iteration agility test case before not covering.
Preferably, step 4 further include:
Iteration agility test case is run, iteration agility test case runs to the test statement equipped with sentence monitoring point When, judge whether there is the instruction of test statement sequencing;
When being equipped with the instruction of test statement sequencing, instructed according to test statement sequencing, by current test statement and target Test statement carries out sequencing, after the completion of sequencing, executes corresponding test statement after sequencing;
After having run current iteration agility test case, the test execution queue of sequencing is saved as into sequencing test execution team Column, are configured to sequencing iteration agility test case for the sequencing test execution queue;
The sequencing iteration agility test case is saved, and the iteration agility test case before not covering.
A kind of with automatic test is leading software agile development system, comprising: agility test obtains module, tests team Column configuration module, sentence monitoring point setup module and iteration agility test run module;
Agility test obtains module for obtaining iteration agility test case, transfers all surveys in iteration agility test case Try sentence;
Test queue's configuration module forms test execution team for arranging test statement according to the order of execution Column;
Sentence monitoring point setup module is used in test execution queue, sets sentence for the test statement of preset quantity Monitoring point;
For running iteration agility test case, iteration agility test case is run to be set iteration agility test run module When having the test statement of sentence monitoring point, judges whether there is substitution test statement and execute.
Preferably, further includes: iteration agility test processes module;
Iteration agility test run module is also used to have substitution test statement when the test statement equipped with sentence monitoring point When, run the substitution test statement;
Iteration agility test processes module is used for iteration agility test case after having executed current operation, if being equipped with language The test statement of sentence monitoring point executes substitution test statement, and the test execution queue for executing substitution test statement is saved as replacement The replacement test execution queue is configured to substitute iteration agility test case by test execution queue;The replacement is saved to change Generation quick test case, and the iteration agility test case before not covering;
Iteration agility test run module is also used to run iteration agility test case, and iteration agility test case is run to When test statement equipped with sentence monitoring point, judges whether there is substitution test statement and execute, the execution of the substitution test statement Whether it is equipped with iteration and executes condition;When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test When the execution of sentence is equipped with iteration execution condition, obtains iteration and execute the iteration execution number that condition is related to;When iteration agility is surveyed When the iteration execution number of example on probation reaches default iteration execution number, the substitution test statement is run;
Iteration agility test run module is also used to run iteration agility test case, and iteration agility test case is run to When test statement equipped with sentence monitoring point, increased test statement is judged whether there is;When being equipped with increased test statement, obtain It takes the execution for increasing test statement in the execution precedence equipped with sentence monitoring point test statement, and executes increase test language Sentence;
After iteration agility test processes module is also used to run current iteration agility test case, increase test for executing The test execution queue of sentence, which saves as, increases test execution queue, and the increase test execution queue is configured to increase iteration Quick test case;The increase iteration agility test case is saved, and the iteration agility test case before not covering.
As can be seen from the above technical solutions, the invention has the following advantages that
Of the invention is that leading software agile development method and system are broken set by traditional test with automatic test Under test period, make full use of the characteristic of automatic test to guide efficient exploitation and testing process.By in test execution In queue, sentence monitoring point is set by the test statement of preset quantity, configures automatic test Intervention Timing, according to test need It asks, tests environment, the factors such as test parameter adjust test statement.Test statement in iteration agility test case can be carried out Replacement is deleted, newly-increased and sequencing.And the iteration agility test case before not covering is converted every time, in this way convenient for survey Examination personnel inquire to the iteration agility test case after before changing perfect, improve existing quick testing process.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in description will be made below simple Ground introduction, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill For personnel, without creative efforts, it is also possible to obtain other drawings based on these drawings.
It is leading software agile development method flow chart that Fig. 1, which is with automatic test,;
It is leading software agile development method embodiment flow chart that Fig. 2, which is with automatic test,;
It is leading software agile development method embodiment flow chart that Fig. 3, which is with automatic test,;
It is leading software agile development method embodiment flow chart that Fig. 4, which is with automatic test,;
It is leading software agile development system schematic that Fig. 5, which is with automatic test,.
Specific embodiment
It with automatic test is leading software agile development method that the present invention, which provides a kind of, as shown in Figure 1, method packet It includes:
S1 obtains iteration agility test case, transfers all test statements in iteration agility test case;
It can be understood that a plurality of test statement involved in each iteration agility test case.
S2 arranges test statement according to the order of execution, forms test execution queue;
It here is to be arranged according to the order of execution, naturally it is also possible to be needed using test and test environment is arranged Sequence.
S3 sets sentence monitoring point for the test statement of preset quantity in test execution queue;
The setting quantity of sentence monitoring point can need to be arranged according to test item, can also be set according to test environment needs It sets, can also be arranged according to the hardware parameter of test, specific set-up mode is here without limitation.
S4, runs iteration agility test case, and iteration agility test case runs to the test language equipped with sentence monitoring point When sentence, judges whether there is substitution test statement and execute.
It in order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below will be with specific Examples and drawings, the technical solution protected to the present invention are clearly and completely described, it is clear that implementation disclosed below Example is only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiment in this patent, the common skill in this field Art personnel all other embodiment obtained without making creative work belongs to the model of this patent protection It encloses.
Embodiment that the present invention provides a kind of method, as shown in Fig. 2,
S11 obtains iteration agility test case, transfers all test statements in iteration agility test case;
S12 arranges test statement according to the order of execution, forms test execution queue;
S13 sets sentence monitoring point for the test statement of preset quantity in test execution queue;
S14, runs iteration agility test case, and iteration agility test case runs to the test language equipped with sentence monitoring point When sentence, judges whether there is substitution test statement and execute.
S15 runs the substitution and tests language when the test statement for being equipped with sentence monitoring point has substitution test statement Sentence.
S16, iteration agility test case is after having executed current operation, if the test statement for being equipped with sentence monitoring point is held Row substitution test statement, the test execution queue for executing substitution test statement is saved as and substitutes test execution queue, will be described Substitute test execution queue to be configured to substitute iteration agility test case;
S17 saves the replacement iteration agility test case, and the iteration agility test case before not covering.
Iteration agility test case before not covering, looks into the front and back use-case replaced every time convenient for tester It askes.
Operation substitutes iteration agility test case, substitutes iteration agility test case and runs to the survey equipped with sentence monitoring point When trying sentence, judges whether there is substitution test statement and execute;
When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test statement is run;
Substitute iteration agility test case after having executed current operation, if the test statement for being equipped with sentence monitoring point is held Row substitution test statement, the replacement test execution queue for executing substitution test statement is saved as in rear replacement test execution team Column, are configured to described in rear replacement test execution queue in rear replacement iteration agility test case;
Save described in rear replacement iteration agility test case, and the replacement iteration agility test case before not covering.
The present invention provides another embodiment of the method, as shown in figure 3,
S21 obtains iteration agility test case, transfers all test statements in iteration agility test case;
S22 arranges test statement according to the order of execution, forms test execution queue;
S23 sets sentence monitoring point for the test statement of preset quantity in test execution queue;
S24, runs iteration agility test case, and iteration agility test case runs to the test language equipped with sentence monitoring point It when sentence, judges whether there is substitution test statement and executes, whether the execution of the substitution test statement, which is equipped with iteration, executes condition;
S25, when the test statement for being equipped with sentence monitoring point has substitution test statement, the execution of the substitution test statement When executing condition equipped with iteration, obtains iteration and execute the iteration execution number that condition is related to;
S26 is replaced described in operation when the iteration of iteration agility test case, which executes number, reaches default iteration execution number For test statement.
Here embodiment is to be equipped with iteration in the execution for needing to configure substitution test statement to execute condition, when reaching item It is replaced after part.
The present invention provides another embodiment of the method, as shown in figure 4,
S31 obtains iteration agility test case, transfers all test statements in iteration agility test case;
S32 arranges test statement according to the order of execution, forms test execution queue;
S33 sets sentence monitoring point for the test statement of preset quantity in test execution queue;
S34, runs iteration agility test case, and iteration agility test case runs to the test language equipped with sentence monitoring point When sentence, increased test statement is judged whether there is;
S35 obtains the execution for increasing test statement and surveys in sentence monitoring point is equipped with when being equipped with increased test statement The execution precedence of sentence is tried, and executes increase test statement;
S36 after having run current iteration agility test case, will execute the test execution queue for increasing test statement and save To increase test execution queue, the increase test execution queue is configured to increase iteration agility test case;
S37 saves the increase iteration agility test case, and the iteration agility test case before not covering.
This is based on increasing newly to the test statement in iteration agility test case before, to complete more to survey Examination, convenient for iteration agility test case that is perfect, and not influencing first of modifying to iteration agility test case.
The present invention provides another embodiment of the method, obtains iteration agility test case, transfers iteration agility test case In all test statements;
Test statement is arranged according to the order of execution, forms test execution queue;
In test execution queue, sentence monitoring point is set by the test statement of preset quantity;
Iteration agility test case is run, iteration agility test case runs to the test statement equipped with sentence monitoring point When, it judges whether there is and deletes test statement instruction;
When being equipped with deletion test statement instruction, test statement corresponding to the sentence monitoring point is deleted, and under execution One test statement;
After having run current iteration agility test case, the test execution queue for deleting test statement is saved as into deletion and is surveyed The queue of sentence test execution is tried, the deletion test statement test execution queue is configured to delete the survey of test statement iteration agility Example on probation;
The deletion test statement iteration agility test case is saved, and the iteration agility test case before not covering.
This is to use the test of iteration agility based on deleting the test statement in iteration agility test case before Example is suitable for current test condition.
The present invention provides another embodiment of the method, obtains iteration agility test case, transfers iteration agility test case In all test statements;
Test statement is arranged according to the order of execution, forms test execution queue;
In test execution queue, sentence monitoring point is set by the test statement of preset quantity;
Iteration agility test case is run, iteration agility test case runs to the test statement equipped with sentence monitoring point When, judge whether there is the instruction of test statement sequencing;
When being equipped with the instruction of test statement sequencing, instructed according to test statement sequencing, by current test statement and target Test statement carries out sequencing, after the completion of sequencing, executes corresponding test statement after sequencing;
After having run current iteration agility test case, the test execution queue of sequencing is saved as into sequencing test execution team Column, are configured to sequencing iteration agility test case for the sequencing test execution queue;
The sequencing iteration agility test case is saved, and the iteration agility test case before not covering.
This is to use the test of iteration agility based on sequencing is carried out to the test statement in iteration agility test case before Example is suitable for current test condition.
It is leading software agile development system that the present invention also provides a kind of with automatic test, as shown in Figure 5, comprising: Agility test obtains module 1, test queue's configuration module 2, sentence monitoring point setup module 3 and iteration agility test run mould Block 4;
Agility test obtains module 1 for obtaining iteration agility test case, transfers in iteration agility test case and owns Test statement;
Test queue's configuration module 2 forms test execution team for arranging test statement according to the order of execution Column;
Sentence monitoring point setup module 3 is used in test execution queue, sets language for the test statement of preset quantity Sentence monitoring point;
For running iteration agility test case, iteration agility test case is run to iteration agility test run module 4 When test statement equipped with sentence monitoring point, judges whether there is substitution test statement and execute.
The present invention provides a kind of system embodiment, system further include: iteration agility test processes module;
Iteration agility test run module is also used to have substitution test statement when the test statement equipped with sentence monitoring point When, run the substitution test statement;Iteration agility test processes module is executing currently for iteration agility test case After operation, if the test statement for being equipped with sentence monitoring point executes substitution test statement, the test of substitution test statement will be executed It executes queue and saves as and substitute test execution queue, the replacement test execution queue is configured to substitute iteration agility test use Example;The replacement iteration agility test case is saved, and the iteration agility test case before not covering;
Iteration agility test run module is also used to run iteration agility test case, and iteration agility test case is run to When test statement equipped with sentence monitoring point, judges whether there is substitution test statement and execute, the execution of the substitution test statement Whether it is equipped with iteration and executes condition;When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test When the execution of sentence is equipped with iteration execution condition, obtains iteration and execute the iteration execution number that condition is related to;When iteration agility is surveyed When the iteration execution number of example on probation reaches default iteration execution number, the substitution test statement is run;The test of iteration agility Operation module is also used to run iteration agility test case, and iteration agility test case runs to the test equipped with sentence monitoring point When sentence, increased test statement is judged whether there is;When being equipped with increased test statement, the execution for increasing test statement is obtained In the execution precedence equipped with sentence monitoring point test statement, and execute increase test statement;Iteration agility test processes After module is also used to run current iteration agility test case, the test execution queue for increasing test statement will be executed and saved as Increase test execution queue, the increase test execution queue is configured to increase iteration agility test case;Save the increasing Add iteration agility test case, and the iteration agility test case before not covering.
The present invention provides another system embodiment, and iteration agility test run module is also used to run the test of iteration agility Use-case judges whether there is deletion test statement when iteration agility test case runs to the test statement equipped with sentence monitoring point Instruction;When being equipped with deletion test statement instruction, test statement corresponding to the sentence monitoring point is deleted, and execute next Test statement;
After iteration agility test processes module is also used to run current iteration agility test case, test statement will be deleted Test execution queue save as delete the queue of test statement test execution, the deletion test statement test execution queue is matched It is set to and deletes test statement iteration agility test case;The deletion test statement iteration agility test case is saved, and is not covered Iteration agility test case before lid.
The present invention provides another system embodiment, and iteration agility test run module is also used to run the test of iteration agility Use-case judges whether there is test statement sequencing when iteration agility test case runs to the test statement equipped with sentence monitoring point Instruction;When being equipped with the instruction of test statement sequencing, instructed according to test statement sequencing, by current test statement and target detection Sentence carries out sequencing, after the completion of sequencing, executes corresponding test statement after sequencing;
After iteration agility test processes module is also used to run current iteration agility test case, the test of sequencing is held Row queue saves as sequencing test execution queue, and the sequencing test execution queue is configured to the test of sequencing iteration agility and is used Example;The sequencing iteration agility test case is saved, and the iteration agility test case before not covering.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment refer to mutually.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to 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, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

  1. It with automatic test is leading software agile development method 1. a kind of, which is characterized in that method includes:
    Step 1 obtains iteration agility test case, transfers all test statements in iteration agility test case;
    Step 2 arranges test statement according to the order of execution, forms test execution queue;
    Step 3 sets sentence monitoring point for the test statement of preset quantity in test execution queue;
    Step 4, runs iteration agility test case, and iteration agility test case runs to the test language equipped with sentence monitoring point When sentence, judges whether there is substitution test statement and execute.
  2. It with automatic test is leading software agile development method 2. according to claim 1, which is characterized in that step After four further include:
    When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test statement is run.
  3. It with automatic test is leading software agile development method 3. according to claim 2, which is characterized in that step After four further include:
    Iteration agility test case is surveyed after having executed current operation if the test statement for being equipped with sentence monitoring point executes substitution Sentence is tried, the test execution queue for executing substitution test statement is saved as and substitutes test execution queue, the replacement is tested Queue is executed to be configured to substitute iteration agility test case;
    The replacement iteration agility test case is saved, and the iteration agility test case before not covering.
  4. It with automatic test is leading software agile development method 4. according to claim 3, which is characterized in that step After four further include:
    Operation substitutes iteration agility test case, substitutes iteration agility test case and runs to the test language equipped with sentence monitoring point When sentence, judges whether there is substitution test statement and execute;
    When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test statement is run;
    Substitute iteration agility test case after having executed current operation, if the test statement execution for being equipped with sentence monitoring point is replaced For test statement, the replacement test execution queue for executing substitution test statement is saved as in rear replacement test execution queue, it will It is described to be configured in rear replacement test execution queue in rear replacement iteration agility test case;
    Save described in rear replacement iteration agility test case, and the replacement iteration agility test case before not covering.
  5. It with automatic test is leading software agile development method 5. according to claim 1, which is characterized in that step Four further include:
    Operation iteration agility test case is sentenced when iteration agility test case runs to the test statement equipped with sentence monitoring point Whether disconnected to have substitution test statement to execute, whether the execution of the substitution test statement, which is equipped with iteration, executes condition;
    When the test statement for being equipped with sentence monitoring point has substitution test statement, the execution of the substitution test statement is equipped with iteration When execution condition, obtains iteration and execute the iteration execution number that condition is related to;
    When the iteration of iteration agility test case, which executes number, reaches default iteration execution number, runs the substitution and test language Sentence.
  6. It with automatic test is leading software agile development method 6. according to claim 1, which is characterized in that step Four further include:
    Operation iteration agility test case is sentenced when iteration agility test case runs to the test statement equipped with sentence monitoring point It is disconnected whether to have increased test statement;
    When being equipped with increased test statement, the execution for obtaining increase test statement is in equipped with sentence monitoring point test statement Precedence is executed, and executes increase test statement;
    After having run current iteration agility test case, the test execution queue that will execute increase test statement saves as increase and surveys Examination executes queue, and the increase test execution queue is configured to increase iteration agility test case;
    The increase iteration agility test case is saved, and the iteration agility test case before not covering.
  7. It with automatic test is leading software agile development method 7. according to claim 1, which is characterized in that step Four further include:
    Operation iteration agility test case is sentenced when iteration agility test case runs to the test statement equipped with sentence monitoring point It is disconnected whether to have deletion test statement instruction;
    When being equipped with deletion test statement instruction, test statement corresponding to the sentence monitoring point is deleted, and execute next Test statement;
    After having run current iteration agility test case, the test execution queue for deleting test statement is saved as into deletion test language The deletion test statement test execution queue is configured to delete test statement iteration agility test use by sentence test execution queue Example;
    The deletion test statement iteration agility test case is saved, and the iteration agility test case before not covering.
  8. It with automatic test is leading software agile development method 8. according to claim 1, which is characterized in that step Four further include:
    Operation iteration agility test case is sentenced when iteration agility test case runs to the test statement equipped with sentence monitoring point It is disconnected whether to have the instruction of test statement sequencing;
    When being equipped with the instruction of test statement sequencing, instructed according to test statement sequencing, by current test statement and target detection Sentence carries out sequencing, after the completion of sequencing, executes corresponding test statement after sequencing;
    After having run current iteration agility test case, the test execution queue of sequencing is saved as into sequencing test execution queue, The sequencing test execution queue is configured to sequencing iteration agility test case;
    The sequencing iteration agility test case is saved, and the iteration agility test case before not covering.
  9. It with automatic test is leading software agile development system 9. a kind of characterized by comprising agility test obtains mould Block, test queue's configuration module, sentence monitoring point setup module and iteration agility test run module;
    Agility test obtains module for obtaining iteration agility test case, transfers all test languages in iteration agility test case Sentence;
    Test queue's configuration module forms test execution queue for arranging test statement according to the order of execution;
    Sentence monitoring point setup module is used in test execution queue, sets sentence monitoring for the test statement of preset quantity Point;
    For running iteration agility test case, iteration agility test case is run to equipped with language iteration agility test run module When the test statement of sentence monitoring point, judges whether there is substitution test statement and execute.
  10. It with automatic test is leading software agile development system 10. according to claim 9, which is characterized in that also It include: iteration agility test processes module;
    Iteration agility test run module is also used to when the test statement for being equipped with sentence monitoring point has substitution test statement, fortune The row substitution test statement;
    Iteration agility test processes module after having executed current operation, is supervised for iteration agility test case if being equipped with sentence The test statement of measuring point executes substitution test statement, and the test execution queue for executing substitution test statement is saved as replacement test Queue is executed, the replacement test execution queue is configured to substitute iteration agility test case;It is quick to save the replacement iteration Prompt test case, and the iteration agility test case before not covering;
    Iteration agility test run module is also used to run iteration agility test case, and iteration agility test case, which is run to, to be equipped with It when the test statement of sentence monitoring point, judges whether there is substitution test statement and executes, whether the execution of the substitution test statement Condition is executed equipped with iteration;When the test statement for being equipped with sentence monitoring point has substitution test statement, the substitution test statement Execution when being equipped with iteration and executing condition, obtain iteration and execute the iteration that is related to of condition and execute number;It tests and uses when iteration agility When the iteration execution number of example reaches default iteration execution number, the substitution test statement is run;
    Iteration agility test run module is also used to run iteration agility test case, and iteration agility test case, which is run to, to be equipped with When the test statement of sentence monitoring point, increased test statement is judged whether there is;When being equipped with increased test statement, obtains and increase Add the execution of test statement in the execution precedence equipped with sentence monitoring point test statement, and executes increase test statement;
    After iteration agility test processes module is also used to run current iteration agility test case, increase test statement for executing Test execution queue save as increase test execution queue, by the increases test execution queue be configured to increase iteration agility Test case;The increase iteration agility test case is saved, and the iteration agility test case before not covering.
CN201810677872.XA 2018-06-27 2018-06-27 Software agile development method and system taking automatic test as leading factor Active CN108959079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810677872.XA CN108959079B (en) 2018-06-27 2018-06-27 Software agile development method and system taking automatic test as leading factor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810677872.XA CN108959079B (en) 2018-06-27 2018-06-27 Software agile development method and system taking automatic test as leading factor

Publications (2)

Publication Number Publication Date
CN108959079A true CN108959079A (en) 2018-12-07
CN108959079B CN108959079B (en) 2021-08-20

Family

ID=64487095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810677872.XA Active CN108959079B (en) 2018-06-27 2018-06-27 Software agile development method and system taking automatic test as leading factor

Country Status (1)

Country Link
CN (1) CN108959079B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060156287A1 (en) * 2005-01-11 2006-07-13 International Business Machines Corporation Auto conversion of tests between different functional testing tools
US20070288625A1 (en) * 2006-06-07 2007-12-13 Al Chakra System and Method to Optimally Manage Performance's Virtual Users and Test Cases
CN102708053A (en) * 2012-04-27 2012-10-03 北京邮电大学 Method for determining context environmental effect of function call in program path
CN103365775A (en) * 2013-06-21 2013-10-23 北京大学 Unit testing method based on internal state checking
CN103699475A (en) * 2012-09-27 2014-04-02 西门子公司 Method, device and system for optimizing test samples in fuzzy test
CN104063321A (en) * 2014-06-27 2014-09-24 北京控制工程研究所 Test verifying system and test verifying method for microblaze soft-core program
CN104298600A (en) * 2014-10-23 2015-01-21 广州华多网络科技有限公司 Software testing method and device
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN104915287A (en) * 2014-03-11 2015-09-16 富士施乐实业发展(中国)有限公司 Method and system for unit testing
CN106776265A (en) * 2015-11-25 2017-05-31 北京奇虎科技有限公司 Test case update method and device
CN107102938A (en) * 2016-02-19 2017-08-29 阿里巴巴集团控股有限公司 The update method and device of test script
CN107870863A (en) * 2017-11-28 2018-04-03 中国电子科技集团公司第五十四研究所 A kind of distributed automatization method of testing based on XML
CN108089982A (en) * 2017-12-08 2018-05-29 北京小度信息科技有限公司 Test method, device, electronic equipment and computer readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060156287A1 (en) * 2005-01-11 2006-07-13 International Business Machines Corporation Auto conversion of tests between different functional testing tools
US20070288625A1 (en) * 2006-06-07 2007-12-13 Al Chakra System and Method to Optimally Manage Performance's Virtual Users and Test Cases
CN102708053A (en) * 2012-04-27 2012-10-03 北京邮电大学 Method for determining context environmental effect of function call in program path
CN103699475A (en) * 2012-09-27 2014-04-02 西门子公司 Method, device and system for optimizing test samples in fuzzy test
CN103365775A (en) * 2013-06-21 2013-10-23 北京大学 Unit testing method based on internal state checking
CN104915287A (en) * 2014-03-11 2015-09-16 富士施乐实业发展(中国)有限公司 Method and system for unit testing
CN104063321A (en) * 2014-06-27 2014-09-24 北京控制工程研究所 Test verifying system and test verifying method for microblaze soft-core program
CN104298600A (en) * 2014-10-23 2015-01-21 广州华多网络科技有限公司 Software testing method and device
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN106776265A (en) * 2015-11-25 2017-05-31 北京奇虎科技有限公司 Test case update method and device
CN107102938A (en) * 2016-02-19 2017-08-29 阿里巴巴集团控股有限公司 The update method and device of test script
CN107870863A (en) * 2017-11-28 2018-04-03 中国电子科技集团公司第五十四研究所 A kind of distributed automatization method of testing based on XML
CN108089982A (en) * 2017-12-08 2018-05-29 北京小度信息科技有限公司 Test method, device, electronic equipment and computer readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
佚名: "Lego-美团接口自动化测试实践", 《HTTPS://TECH.MEITUAN.COM/2018/01/09/LEGO-API-TEST.HTML》 *
姚香娟: "基于目标语句占优关系的软件可测试性转化", 《电子学报 科研通信》 *
王兴亚等: "基于参数-值替换的错误定位方法", 《通信学报 学术论文》 *

Also Published As

Publication number Publication date
CN108959079B (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN105426298B (en) A kind of method for testing software and system based on ADB
CN107783873B (en) Method for realizing automatic testing platform of burner
CN104778118B (en) The improved method of automatization testing technique
CN104349346A (en) Mobile terminal WiFi throughout automatic testing method
CN105022691A (en) Highly automatic software testing method based on UML diagram
CN106314828A (en) Dynamic reconfigurable ground measuring and controlling system
CN106445811A (en) SecureCRT-based automated test system and method
CN104375937A (en) Continuous integration method and system of automated testing results
CN109491922A (en) One kind being based on model-driven test method and apparatus
CN106649127A (en) Automatic testing method and model suitable for software agile development
CN109917277B (en) Virtual measuring method, device, equipment and storage medium
CN102164196A (en) Automatic mobile phone current testing method
CN110139298A (en) A kind of WiFi automatization test system and its test method
CN109444716A (en) A kind of sweep test structure and method with positioning function
CN106126414A (en) Application software testing method and system
CN108959079A (en) A kind of with automatic test is leading software agile development method and system
CN112306877A (en) Power system fault operation and maintenance method and system
CN109979520A (en) Chip functions automated testing method, device and computer equipment
CN106294172A (en) App self-testing method based on terminal unit and device
CN110287092A (en) A kind of electricity transaction system and its automatic test approach based on graphical interfaces
CN109989220A (en) The control method and system of clothes treatment device
CN108009086B (en) System automation test method based on case decomposition and function learning
CN112052180A (en) Stability testing method and system based on control arrangement
CN107528642A (en) A kind of production test method and device of the wireless device of rural biogas data acquisition
CN110928787A (en) Automatic test script recording and playback method, device, equipment and 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
GR01 Patent grant
GR01 Patent grant