CN108959079B - Software agile development method and system taking automatic test as leading factor - Google Patents

Software agile development method and system taking automatic test as leading factor Download PDF

Info

Publication number
CN108959079B
CN108959079B CN201810677872.XA CN201810677872A CN108959079B CN 108959079 B CN108959079 B CN 108959079B CN 201810677872 A CN201810677872 A CN 201810677872A CN 108959079 B CN108959079 B CN 108959079B
Authority
CN
China
Prior art keywords
test
statement
agility
iteration
iterative
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.)
Active
Application number
CN201810677872.XA
Other languages
Chinese (zh)
Other versions
CN108959079A (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

Images

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

The invention provides a software agility development method and a system taking automatic testing as a leading part, which are used for obtaining an iterative agility test case and calling all test sentences in the iterative agility test case; arranging the test statements according to an execution sequence to form a test execution queue; in the test execution queue, setting a preset number of test statements as statement monitoring points; and running the iterative agile test case, and judging whether a substitute test statement is executed or not when the iterative agile test case runs to the test statement with the statement monitoring point. The test execution queue sets a preset number of test statements as statement monitoring points, configures the intervention time of the automatic test, and adjusts the test statements according to the test requirements, the test environment, the test parameters and other factors. The test statements in the iterative agile test case can be replaced, deleted, added and permuted.

Description

Software agile development method and system taking automatic test as leading factor
Technical Field
The invention relates to the field of software testing, in particular to a software agile development method and system taking automatic testing as a leading factor.
Background
The traditional waterfall open mode and the existing agile development mode have insufficient utilization of automatic testing, automation is only used as supplement of manual testing and is not paid sufficient attention, so that the utilization value of an automatic testing script is low, on the other hand, a high-strength iteration plan causes manual testing time to be short, and a testing scheme taking manual testing as a leading mode cannot efficiently finish the agile iteration mode.
In the existing development mode, the automatic test script is compiled in the process of chasing up the development progress and the manual test progress, so that the utilization period of partial scripts is extremely short, the defects found by the automatic test are not paid enough attention, and the defects can not instantly guide a development team to actively and effectively modify important functional problems. The automatic test is usually intervened after the manual test is finished, and the value of the automatic test is greatly reduced.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a software agile development method taking automatic testing as a leading factor, which comprises the following steps:
acquiring an iterative agility test case, and calling all test statements in the iterative agility test case;
step two, arranging the test statements according to an execution sequence to form a test execution queue;
step three, in the test execution queue, setting a preset number of test sentences as sentence monitoring points;
and step four, operating the iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case is operated to the test statement with the statement monitoring point.
Preferably, step four is followed by:
and when the test statement provided with the statement monitoring point has the alternative test statement, operating the alternative test statement.
Preferably, step four is followed by:
after the iterative agile test case is executed and currently runs, if the test statement provided with the statement monitoring point executes the alternative test statement, a test execution queue for executing the alternative test statement is saved as an alternative test execution queue, and the alternative test execution queue is configured into an alternative iterative agile test case;
and saving the replacement iteration agility test case without covering the previous iteration agility test case.
Preferably, step four is followed by:
running a replacement iteration agility test case, and judging whether a replacement test statement is executed or not when the replacement iteration agility test case runs to a test statement provided with a statement monitoring point;
when the test statement provided with the statement monitoring point has a substitute test statement, operating the substitute test statement;
after the current operation of the alternative iteration agile test case is executed, if the test statement provided with the statement monitoring point executes the alternative test statement, a sequence of executing the alternative test statement is saved as a sequence of executing the alternative test, and the sequence of executing the alternative test is configured into a sequence of executing the alternative iteration agile test case;
and saving the subsequent replacement iteration agility test case without covering the previous replacement iteration agility test case.
Preferably, step four further comprises:
running an iterative agility test case, judging whether a substitute test statement is executed when the iterative agility test case runs to a test statement provided with a statement monitoring point, and judging whether an iterative execution condition is set for the execution of the substitute test statement;
when the test statement provided with the statement monitoring point has a substitute test statement, and the execution of the substitute test statement is provided with an iteration execution condition, acquiring the iteration execution times related to the iteration execution condition;
and when the iteration execution times of the iteration agile test case reach the preset iteration execution times, running the alternative test statement.
Preferably, step four further comprises:
running the iterative agility test case, and judging whether additional test sentences exist or not when the iterative agility test case runs to the test sentences provided with the sentence monitoring points;
when the added test sentences are arranged, acquiring the execution sequence of the added test sentences in the test sentences with the sentence monitoring points, and executing the added test sentences;
after the current iteration agility test case is operated, saving a test execution queue for executing the increased test statement as an increased test execution queue, and configuring the increased test execution queue into the increased iteration agility test case;
and saving the increased iteration agility test case without covering the previous iteration agility test case.
Preferably, step four further comprises:
running the iterative agility test case, and judging whether a test statement deleting instruction exists or not when the iterative agility test case runs to a test statement with statement monitoring points;
when a test statement deleting instruction is set, deleting the test statement corresponding to the statement monitoring point, and executing the next test statement;
after the current iterative agility test case is operated, storing a test execution queue for deleting the test statement as a test execution queue for deleting the test statement, and configuring the test execution queue for deleting the test statement into the iterative agility test case for deleting the test statement;
and saving the iterative agility test case of the deleted test statement, wherein the previous iterative agility test case is not covered.
Preferably, step four further comprises:
running the iterative agility test case, and judging whether a test statement order-adjusting instruction exists or not when the iterative agility test case runs to a test statement with statement monitoring points;
when a test statement order-adjusting instruction is set, adjusting the order of the current test statement and the target test statement according to the test statement order-adjusting instruction, and executing the corresponding test statement after the order adjustment is finished;
after the current iteration agility test case is operated, saving the sequence-adjusting test execution queue as a sequence-adjusting test execution queue, and configuring the sequence-adjusting test execution queue into a sequence-adjusting iteration agility test case;
and saving the sequence-adjusting iterative agility test case without covering the previous iterative agility test case.
An automated test-dominated software agile development system comprising: the system comprises an agility test acquisition module, a test queue configuration module, a statement monitoring point setting module and an iterative agility test operation module;
the agility test acquisition module is used for acquiring an iterative agility test case and calling all test statements in the iterative agility test case;
the test queue configuration module is used for arranging the test statements according to the execution order to form a test execution queue;
the statement monitoring point setting module is used for setting a preset number of test statements as statement monitoring points in the test execution queue;
the iterative agility test operation module is used for operating an iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case is operated to the test statement with the statement monitoring point.
Preferably, the method further comprises the following steps: an iterative agility test processing module;
the iteration agility test operation module is also used for operating the alternative test statement when the test statement provided with the statement monitoring point has the alternative test statement;
the iteration agility test processing module is used for storing a test execution queue for executing the alternative test statement as an alternative test execution queue if the test statement provided with the statement monitoring point executes the alternative test statement after the iteration agility test case is executed and runs currently, and configuring the alternative test execution queue into an alternative iteration agility test case; saving the replacement iteration agility test case without covering the previous iteration agility test case;
the iteration agility test operation module is also used for operating an iteration agility test case, and when the iteration agility test case operates to a test statement provided with a statement monitoring point, whether a substitute test statement is executed or not is judged, and whether an iteration execution condition is set for the execution of the substitute test statement or not is judged; when the test statement provided with the statement monitoring point has a substitute test statement, and the execution of the substitute test statement is provided with an iteration execution condition, acquiring the iteration execution times related to the iteration execution condition; when the iteration execution times of the iteration agile test case reach the preset iteration execution times, the alternative test statement is operated;
the iterative agility test operation module is also used for operating an iterative agility test case, and judging whether additional test sentences exist or not when the iterative agility test case is operated to the test sentences provided with the sentence monitoring points; when the added test sentences are arranged, acquiring the execution sequence of the added test sentences in the test sentences with the sentence monitoring points, and executing the added test sentences;
the iteration agility test processing module is also used for storing a test execution queue for executing the increased test statement as an increased test execution queue after the current iteration agility test case is run, and configuring the increased test execution queue into an increased iteration agility test case; and saving the increased iteration agility test case without covering the previous iteration agility test case.
According to the technical scheme, the invention has the following advantages:
the software agile development method and the system taking the automatic test as the leading part break through the test period set by the traditional test, and guide the efficient development and test process by fully utilizing the characteristic of the automatic test. The test execution queue sets a preset number of test statements as statement monitoring points, configures the intervention time of the automatic test, and adjusts the test statements according to the test requirements, the test environment, the test parameters and other factors. The test statements in the iterative agile test case can be replaced, deleted, added and permuted. And each transformation does not cover the previous iteration agility test case, so that the tester can conveniently and perfectly inquire the iteration agility test cases before and after the transformation, and the existing agility test process is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a software agile development method dominated by automated testing;
FIG. 2 is a flow diagram of an embodiment of a method for automated test-dominated software agile development;
FIG. 3 is a flow diagram of an embodiment of a method for automated test-dominated software agile development;
FIG. 4 is a flow diagram of an embodiment of a method for automated test-dominated software agile development;
fig. 5 is a schematic diagram of a software agile development system dominated by automated testing.
Detailed Description
The invention provides a software agile development method taking automatic test as a leading factor, as shown in figure 1, the method comprises the following steps:
s1, acquiring an iterative agility test case, and calling all test statements in the iterative agility test case;
it will be appreciated that multiple test statements are involved in each iterative agile test case.
S2, arranging the test statements according to the execution order to form a test execution queue;
the ordering is performed according to the execution order, and the ordering can be performed according to the test requirement and the test environment.
S3, setting a preset number of test statements as statement monitoring points in the test execution queue;
the set number of the statement monitoring points can be set according to the requirements of the test items, can also be set according to the requirements of the test environment, and can also be set according to the hardware parameters of the test, and the specific setting mode is not limited here.
And S4, running the iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case runs to the test statement with the statement monitoring point.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments and drawings. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the scope of protection of this patent.
The present invention provides a method embodiment, as shown in figure 2,
s11, acquiring an iterative agility test case, and calling all test statements in the iterative agility test case;
s12, arranging the test statements according to the execution order to form a test execution queue;
s13, setting a preset number of test statements as statement monitoring points in the test execution queue;
and S14, running the iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case runs to the test statement with the statement monitoring point.
And S15, when the test statement provided with the statement monitoring point has the alternative test statement, operating the alternative test statement.
S16, after the iterative agile test case is executed and runs currently, if the test statement provided with the statement monitoring point executes the alternative test statement, the test execution queue for executing the alternative test statement is saved as an alternative test execution queue, and the alternative test execution queue is configured into an alternative iterative agile test case;
and S17, saving the replacement iteration agility test case, and not covering the previous iteration agility test case.
The previous iteration agile test case is not covered, so that a tester can conveniently inquire the previous and next cases which are changed each time.
Running a replacement iteration agility test case, and judging whether a replacement test statement is executed or not when the replacement iteration agility test case runs to a test statement provided with a statement monitoring point;
when the test statement provided with the statement monitoring point has a substitute test statement, operating the substitute test statement;
after the current operation of the alternative iteration agile test case is executed, if the test statement provided with the statement monitoring point executes the alternative test statement, a sequence of executing the alternative test statement is saved as a sequence of executing the alternative test, and the sequence of executing the alternative test is configured into a sequence of executing the alternative iteration agile test case;
and saving the subsequent replacement iteration agility test case without covering the previous replacement iteration agility test case.
The present invention provides another method embodiment, as shown in figure 3,
s21, acquiring an iterative agility test case, and calling all test statements in the iterative agility test case;
s22, arranging the test statements according to the execution order to form a test execution queue;
s23, setting a preset number of test statements as statement monitoring points in the test execution queue;
s24, running an iterative agility test case, judging whether a substitute test statement is executed when the iterative agility test case runs to a test statement provided with a statement monitoring point, and judging whether an iterative execution condition is set for the execution of the substitute test statement;
s25, when the test statement with statement monitoring point has a substitute test statement, and the execution of the substitute test statement has an iteration execution condition, acquiring the iteration execution times related to the iteration execution condition;
and S26, when the iteration execution times of the iteration agility test case reach the preset iteration execution times, the alternative test statement is operated.
The implementation mode is that an iterative execution condition is set in the execution of the alternative test statement needing to be configured, and the alternative test statement is replaced when the condition is reached.
The present invention provides another method embodiment, as shown in figure 4,
s31, acquiring an iterative agility test case, and calling all test statements in the iterative agility test case;
s32, arranging the test statements according to the execution order to form a test execution queue;
s33, setting a preset number of test statements as statement monitoring points in the test execution queue;
s34, running the iterative agility test case, and judging whether additional test sentences exist when the iterative agility test case runs to the test sentences provided with the sentence monitoring points;
s35, when the added test statement is set, acquiring the execution sequence of the added test statement in the test statement with the statement monitoring point, and executing the added test statement;
s36, after the current iteration agility test case is operated, saving the test execution queue for executing the increased test statement as an increased test execution queue, and configuring the increased test execution queue into an increased iteration agility test case;
and S37, saving the increased iteration agility test case, and not covering the previous iteration agility test case.
The method is based on newly adding the test statements in the previous iteration agility test case to complete more tests, so that the iteration agility test case is conveniently modified and perfected, and the previous iteration agility test case is not influenced.
The invention provides another method embodiment, obtain the test case of iteration agility, call all test statements in the test case of iteration agility;
arranging the test statements according to an execution sequence to form a test execution queue;
in the test execution queue, setting a preset number of test statements as statement monitoring points;
running the iterative agility test case, and judging whether a test statement deleting instruction exists or not when the iterative agility test case runs to a test statement with statement monitoring points;
when a test statement deleting instruction is set, deleting the test statement corresponding to the statement monitoring point, and executing the next test statement;
after the current iterative agility test case is operated, storing a test execution queue for deleting the test statement as a test execution queue for deleting the test statement, and configuring the test execution queue for deleting the test statement into the iterative agility test case for deleting the test statement;
and saving the iterative agility test case of the deleted test statement, wherein the previous iterative agility test case is not covered.
The test statements in the previous iteration agility test case are deleted, so that the iteration agility test case can be more suitable for the current test condition.
The invention provides another method embodiment, obtain the test case of iteration agility, call all test statements in the test case of iteration agility;
arranging the test statements according to an execution sequence to form a test execution queue;
in the test execution queue, setting a preset number of test statements as statement monitoring points;
running the iterative agility test case, and judging whether a test statement order-adjusting instruction exists or not when the iterative agility test case runs to a test statement with statement monitoring points;
when a test statement order-adjusting instruction is set, adjusting the order of the current test statement and the target test statement according to the test statement order-adjusting instruction, and executing the corresponding test statement after the order adjustment is finished;
after the current iteration agility test case is operated, saving the sequence-adjusting test execution queue as a sequence-adjusting test execution queue, and configuring the sequence-adjusting test execution queue into a sequence-adjusting iteration agility test case;
and saving the sequence-adjusting iterative agility test case without covering the previous iterative agility test case.
The method is based on the sequencing of the test statements in the previous iteration agility test case, so that the iteration agility test case can be more suitable for the current test condition.
The invention also provides a software agile development system taking automatic testing as a leading factor, as shown in fig. 5, comprising: the system comprises an agility test acquisition module 1, a test queue configuration module 2, a statement monitoring point setting module 3 and an iterative agility test operation module 4;
the agility test acquisition module 1 is used for acquiring an iterative agility test case and calling all test statements in the iterative agility test case;
the test queue configuration module 2 is used for arranging the test statements according to the execution order to form a test execution queue;
the statement monitoring point setting module 3 is used for setting a preset number of test statements as statement monitoring points in the test execution queue;
the iterative agility test running module 4 is used for running an iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case runs to a test statement with a statement monitoring point.
The present invention provides a system embodiment, the system further comprising: an iterative agility test processing module;
the iteration agility test operation module is also used for operating the alternative test statement when the test statement provided with the statement monitoring point has the alternative test statement; the iteration agility test processing module is used for storing a test execution queue for executing the alternative test statement as an alternative test execution queue if the test statement provided with the statement monitoring point executes the alternative test statement after the iteration agility test case is executed and runs currently, and configuring the alternative test execution queue into an alternative iteration agility test case; saving the replacement iteration agility test case without covering the previous iteration agility test case;
the iteration agility test operation module is also used for operating an iteration agility test case, and when the iteration agility test case operates to a test statement provided with a statement monitoring point, whether a substitute test statement is executed or not is judged, and whether an iteration execution condition is set for the execution of the substitute test statement or not is judged; when the test statement provided with the statement monitoring point has a substitute test statement, and the execution of the substitute test statement is provided with an iteration execution condition, acquiring the iteration execution times related to the iteration execution condition; when the iteration execution times of the iteration agile test case reach the preset iteration execution times, the alternative test statement is operated; the iterative agility test operation module is also used for operating an iterative agility test case, and judging whether additional test sentences exist or not when the iterative agility test case is operated to the test sentences provided with the sentence monitoring points; when the added test sentences are arranged, acquiring the execution sequence of the added test sentences in the test sentences with the sentence monitoring points, and executing the added test sentences; the iteration agility test processing module is also used for storing a test execution queue for executing the increased test statement as an increased test execution queue after the current iteration agility test case is run, and configuring the increased test execution queue into an increased iteration agility test case; and saving the increased iteration agility test case without covering the previous iteration agility test case.
The invention provides another system embodiment, the iteration agility test operation module is also used for operating an iteration agility test case, and when the iteration agility test case operates to a test statement provided with a statement monitoring point, whether a test statement deleting instruction exists is judged; when a test statement deleting instruction is set, deleting the test statement corresponding to the statement monitoring point, and executing the next test statement;
the iterative agility test processing module is also used for storing the test execution queue deleted with the test statement as a test execution queue deleted with the test statement after the current iterative agility test case is run, and configuring the test execution queue deleted with the test statement as a test execution queue deleted with the iterative agility test case deleted with the test statement; and saving the iterative agility test case of the deleted test statement, wherein the previous iterative agility test case is not covered.
The invention provides another system embodiment, the iteration agility test operation module is also used for operating an iteration agility test case, and when the iteration agility test case operates to a test statement provided with a statement monitoring point, whether a test statement order-adjusting instruction exists is judged; when a test statement order-adjusting instruction is set, adjusting the order of the current test statement and the target test statement according to the test statement order-adjusting instruction, and executing the corresponding test statement after the order adjustment is finished;
the iteration agility test processing module is also used for storing the sequence-adjusting test execution queue as a sequence-adjusting test execution queue after the current iteration agility test case is run, and configuring the sequence-adjusting test execution queue into a sequence-adjusting iteration agility test case; and saving the sequence-adjusting iterative agility test case without covering the previous iterative agility test case.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. A software agile development method taking automatic testing as a main factor is characterized by comprising the following steps:
acquiring an iterative agility test case, and calling all test statements in the iterative agility test case;
step two, arranging the test statements according to an execution sequence to form a test execution queue;
step three, in the test execution queue, setting a preset number of test sentences as sentence monitoring points;
step four, operating the iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case is operated to the test statement with the statement monitoring point;
when the test statement provided with the statement monitoring point has a substitute test statement, operating the substitute test statement;
after the iterative agile test case is executed and currently runs, if the test statement provided with the statement monitoring point executes the alternative test statement, a test execution queue for executing the alternative test statement is saved as an alternative test execution queue, and the alternative test execution queue is configured into an alternative iterative agile test case;
saving the replacement iteration agility test case without covering the previous iteration agility test case;
running a replacement iteration agility test case, and judging whether a replacement test statement is executed or not when the replacement iteration agility test case runs to a test statement provided with a statement monitoring point;
when the test statement provided with the statement monitoring point has a substitute test statement, operating the substitute test statement;
after the current operation of the alternative iteration agile test case is executed, if the test statement provided with the statement monitoring point executes the alternative test statement, a sequence of executing the alternative test statement is saved as a sequence of executing the alternative test, and the sequence of executing the alternative test is configured into a sequence of executing the alternative iteration agile test case;
and saving the subsequent replacement iteration agility test case without covering the previous replacement iteration agility test case.
2. The automated test-dominated software agile development method of claim 1 wherein step four further comprises:
running an iterative agility test case, judging whether a substitute test statement is executed when the iterative agility test case runs to a test statement provided with a statement monitoring point, and judging whether an iterative execution condition is set for the execution of the substitute test statement;
when the test statement provided with the statement monitoring point has a substitute test statement, and the execution of the substitute test statement is provided with an iteration execution condition, acquiring the iteration execution times related to the iteration execution condition;
and when the iteration execution times of the iteration agile test case reach the preset iteration execution times, running the alternative test statement.
3. The automated test-dominated software agile development method of claim 1 wherein step four further comprises:
running the iterative agility test case, and judging whether additional test sentences exist or not when the iterative agility test case runs to the test sentences provided with the sentence monitoring points;
when the added test sentences are arranged, acquiring the execution sequence of the added test sentences in the test sentences with the sentence monitoring points, and executing the added test sentences;
after the current iteration agility test case is operated, saving a test execution queue for executing the increased test statement as an increased test execution queue, and configuring the increased test execution queue into the increased iteration agility test case;
and saving the increased iteration agility test case without covering the previous iteration agility test case.
4. The automated test-dominated software agile development method of claim 1 wherein step four further comprises:
running the iterative agility test case, and judging whether a test statement deleting instruction exists or not when the iterative agility test case runs to a test statement with statement monitoring points;
when a test statement deleting instruction is set, deleting the test statement corresponding to the statement monitoring point, and executing the next test statement;
after the current iterative agility test case is operated, storing a test execution queue for deleting the test statement as a test execution queue for deleting the test statement, and configuring the test execution queue for deleting the test statement into the iterative agility test case for deleting the test statement;
and saving the iterative agility test case of the deleted test statement, wherein the previous iterative agility test case is not covered.
5. The automated test-dominated software agile development method of claim 1 wherein step four further comprises:
running the iterative agility test case, and judging whether a test statement order-adjusting instruction exists or not when the iterative agility test case runs to a test statement with statement monitoring points;
when a test statement order-adjusting instruction is set, adjusting the order of the current test statement and the target test statement according to the test statement order-adjusting instruction, and executing the corresponding test statement after the order adjustment is finished;
after the current iteration agility test case is operated, saving the sequence-adjusting test execution queue as a sequence-adjusting test execution queue, and configuring the sequence-adjusting test execution queue into a sequence-adjusting iteration agility test case;
and saving the sequence-adjusting iterative agility test case without covering the previous iterative agility test case.
6. An agile software development system dominated by automated testing, characterised by employing a software agile development method dominated by automated testing according to any one of claims 1 to 5;
the system comprises: the system comprises an agility test acquisition module, a test queue configuration module, a statement monitoring point setting module and an iterative agility test operation module;
the agility test acquisition module is used for acquiring an iterative agility test case and calling all test statements in the iterative agility test case;
the test queue configuration module is used for arranging the test statements according to the execution order to form a test execution queue;
the statement monitoring point setting module is used for setting a preset number of test statements as statement monitoring points in the test execution queue;
the iterative agility test operation module is used for operating an iterative agility test case, and judging whether a substitute test statement is executed or not when the iterative agility test case is operated to the test statement with the statement monitoring point.
7. The automated test-dominated software agile development system of claim 6 further comprising: an iterative agility test processing module;
the iteration agility test operation module is also used for operating the alternative test statement when the test statement provided with the statement monitoring point has the alternative test statement;
the iteration agility test processing module is used for storing a test execution queue for executing the alternative test statement as an alternative test execution queue if the test statement provided with the statement monitoring point executes the alternative test statement after the iteration agility test case is executed and runs currently, and configuring the alternative test execution queue into an alternative iteration agility test case; saving the replacement iteration agility test case without covering the previous iteration agility test case;
the iteration agility test operation module is also used for operating an iteration agility test case, and when the iteration agility test case operates to a test statement provided with a statement monitoring point, whether a substitute test statement is executed or not is judged, and whether an iteration execution condition is set for the execution of the substitute test statement or not is judged; when the test statement provided with the statement monitoring point has a substitute test statement, and the execution of the substitute test statement is provided with an iteration execution condition, acquiring the iteration execution times related to the iteration execution condition; when the iteration execution times of the iteration agile test case reach the preset iteration execution times, the alternative test statement is operated;
the iterative agility test operation module is also used for operating an iterative agility test case, and judging whether additional test sentences exist or not when the iterative agility test case is operated to the test sentences provided with the sentence monitoring points; when the added test sentences are arranged, acquiring the execution sequence of the added test sentences in the test sentences with the sentence monitoring points, and executing the added test sentences;
the iteration agility test processing module is also used for storing a test execution queue for executing the increased test statement as an increased test execution queue after the current iteration agility test case is run, and configuring the increased test execution queue into an increased iteration agility test case; and saving the increased iteration agility test case without covering the previous iteration agility test case.
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 CN108959079A (en) 2018-12-07
CN108959079B true 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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104298600A (en) * 2014-10-23 2015-01-21 广州华多网络科技有限公司 Software testing method and device
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
CN108089982A (en) * 2017-12-08 2018-05-29 北京小度信息科技有限公司 Test method, device, electronic equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673292B2 (en) * 2005-01-11 2010-03-02 International Business Machines Corporation Auto conversion of tests between different functional testing tools
US7908382B2 (en) * 2006-06-07 2011-03-15 International Business Machines Corporation System and method to optimally manage performance's virtual users and test cases
CN102708053B (en) * 2012-04-27 2017-10-20 北京邮电大学 The method that the context environmental influence of function call is determined in Program path
CN104063321B (en) * 2014-06-27 2017-06-13 北京控制工程研究所 A kind of test checking system and test verification method for the soft core programs of MicroBlaze
CN104834595B (en) * 2015-02-15 2017-09-12 网易(杭州)网络有限公司 A kind of Visual Automatic Test method and system
CN107870863B (en) * 2017-11-28 2020-10-16 中国电子科技集团公司第五十四研究所 XML-based distributed automatic test method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104298600A (en) * 2014-10-23 2015-01-21 广州华多网络科技有限公司 Software testing method and device
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
CN108089982A (en) * 2017-12-08 2018-05-29 北京小度信息科技有限公司 Test method, device, electronic equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于目标语句占优关系的软件可测试性转化;姚香娟;《电子学报 科研通信》;20140122(第12期);2523-2528 *

Also Published As

Publication number Publication date
CN108959079A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US9477578B2 (en) Sequence-program-debugging supporting apparatus
CN104349346A (en) Mobile terminal WiFi throughout automatic testing method
CN106126414B (en) Application software testing method and system
CN101986278A (en) Automatic testing method and system for electronic equipment
CN103970660A (en) Total system stability automatic test method based on crontab
CN101286182A (en) Dynamic simulation platform method for embedded processor function verification
RU2008135338A (en) METHOD FOR MANAGING A ROBOTIZED WORK STATION AND THE RELATED ROBOT WORK STATION
CN109524049A (en) SSD powered-off fault test method, device, computer equipment and storage medium
CN108959079B (en) Software agile development method and system taking automatic test as leading factor
CN107861458A (en) It is a kind of can autonomous configuration hardware resource PLC fast construction methods
CN105334448A (en) Chip automatization test system
CN112051835A (en) DCS redundancy function testing method and device
CN106294172A (en) App self-testing method based on terminal unit and device
CN110018965B (en) BIOS (basic input output System) single-step debugging control method, device and system
CN109871321A (en) A kind of method and test case management platform of test case Code automatic build
CN105630898A (en) Method applicable to switch application database table data version
CN106776265A (en) Test case update method and device
CN115239217A (en) Aviation product production plan changing method, device, equipment and storage medium
CN110824279A (en) Automatic testing system and method for relay protection device
CN105893238A (en) Code debugging method and device
CN103163407A (en) Conversion method of multiple testing channels of testing system
CN104820627A (en) Method for automatically carrying out CPU (Central Processing Unit) calculation performance test
CN114936477A (en) Wind tunnel operation and flow field control system design method based on WorkFlow
CN111506502B (en) Mobile terminal UI automatic distribution network flow test system and method
CN113281591A (en) Test system for realizing multi-channel electromagnetic interference equipment batch full-automatic test

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