Do you know how to choose the regression test strategy?

Throughout the test session, regression testing rarely been mentioned, for regression testing is not a lot of information online, and test books mentioned in regression testing part is relatively small. But tests done friends all know the importance of testing throughout the test cycle return.

Take a look at the Wikipedia definition of regression testing (regression testing software designed to test whether the original features remain intact after modification), by this brief description we found when regression testing is actually a test of research and development work after correction BUG, ​​of course, If you understand this, then we will find out that regression testing is to test whether the BUG be fixed.

Software engineering is a piece of software from the various functional modules, all modules will be combined into a complete software, so between the various modules are related, if only to test whether the regression testing stage BUG is corrected, then no one at the time to ensure that research and development will not introduce other amendments BUG BUG. In this way we are doing regression testing when you need to return to some functions outside this BUG.

Regression testing stage of testing strategy basically has the following four kinds.

(1), then test all use cases
to select all the test cases in the baseline test case library component regression test package, which is a relatively safe way to re-test all patients with the lowest risk of missing the return error, but the test costs up. All re-test can be applied to almost any case, basically do not need to be analyzed and re-development, however, with the progress of development work, the growing number of test cases, repeat all of the original test will bring a lot of work, often beyond our budget and schedule.

(2), based on risk selection test
can be selected regression test package from the baseline test case library based on certain risk criteria. First run the most important, critical and suspicious of the test, and skip those non-critical, low priority or high stability of test cases, test these use cases may even defect to the seriousness of these defects is also just three or four. In general, the test feature from the primary to the secondary features.

(3), based on the operating profile to select the test
if the test case is based on the baseline test case library software operating profile development, distribution of test cases reflect the actual usage of the system. The number of test cases used for regression testing can be determined by a test budget, regression testing can give preference to those found as early as possible for the most important or most frequently used function test, release and relieve the highest level of risk to help those on reliability have the greatest impact of failure. This method can most effectively improve system reliability in a given budget, but implementation has a certain degree of difficulty.

(4), and then testing the modified portion
when the tester is modified to localized confident enough, by the revision of the software dependency analysis to identify and analyze the impact of the modification, the regression testing module is limited and it changed on the interface. Typically, a regression error necessarily involve a new code segment or delete modified. Under conditions permit, regression testing as much as possible to cover the affected part.

Further testing strategy all use cases in more than four kinds of regression test strategy is the safest strategy, but have run many times regression testing is unlikely to reveal new errors, and many times, because of the time, personnel, equipment and funding the reason is not allowed to select another test regression testing strategy all use cases, at this time, you can select the appropriate strategy to reduce regression testing.

Regression testing using different strategies at different stages is a more sensible choice, we know project management, project schedule, cost, quality is a triangular relationship, each of ruthless important, so when you have thousands of the project project schedule and cost control will be a problem when the test case when a re-test all patients with regression testing strategies, in what stage what kind of regression testing strategy is to issue each qualified testers should consider.

In the writing test cases when testers pursuit with a minimum of test cases to achieve maximum coverage of use cases in regression testing testers will seek to maximize the complete regression testing to ensure that in the case of the project schedule and cost.

I'm going to focus on the collection voucher 591q.cn

 

Guess you like

Origin blog.csdn.net/zfs1570/article/details/85478257