测试知识问与答第六期

1,313 Views
『作者:RickyZhu 转载务必注明出处和作者』
Tag:

Q: What is the purpose of test strategy?

A: Reason number 1: The number one reason of writing a test strategy document is to “have” a signed, sealed, and delivered, FDA (or FAA) approved document, where the document includes a written testing methodology, test plan, and test cases.

Reason number 2: Having a test strategy does satisfy one important step in the software testing process.

Reason number 3: The test strategy document tells us how the software product will be tested.

Reason number 4: The creation of a test strategy document presents an opportunity to review the test plan with the project team.

Reason number 5: The test strategy document describes the roles, responsibilities, and the resources required for the test and schedule constraints.

Reason number 6: When we create a test strategy document, we have to put into writing any testing issues requiring resolution (and usually this means additional negotiation at the project management level).

Reason number 7: The test strategy is decided first, before lower level decisions are made on the test plan, test design, and other testing issues.


Q: What is the purpose of a test plan?

A: Reason number 1: We create a test plan because preparing it helps us to think through the efforts needed to validate the acceptability of a software product.

Reason number 2: We create a test plan because it can and will help people outside the test group to understand the why and how of product validation.

Reason number 3: We create a test plan because, in regulated environments, we have to have a written test plan.

Reason number 4: We create a test plan because the general testing process includes the creation of a test plan.

Reason number 5: We create a test plan because we want a document that describes the objectives, scope, approach and focus of the software testing effort.

Reason number 6: We create a test plan because it includes test cases, conditions, the test environment, a list of related tasks, pass/fail criteria, and risk assessment.

Reason number 7: We create test plan because one of the outputs for creating a test strategy is an approved and signed off test plan document.

Reason number 8: We create a test plan because the software testing methodology a three step process, and one of the steps is the creation of a test plan.

Reason number 9: We create a test plan because we want an opportunity to review the test plan with the project team.

Reason number 10: We create a test plan document because test plans should be documented, so that they are repeatable.

Q: Give me one test case that catches all the bugs!

A: If there is a “magic bullet”, i.e. the one test case that has a good possibility to catch ALL the bugs, or at least the most important bugs, it is a challenge to find it, because test cases depend on requirements; requirements depend on what customers need; and customers can have great many different needs.

As software systems are getting increasingly complex, it is increasingly more challenging to write test cases.


随机文章

沙发

(Required)
(Required, not published)


Close
E-mail It