Test Plan and Strategy

TL;DR

Test strategy — Answers “what” questions. Test approaches and goals. What are the objectives of testing? Will be there any automation? Types of testing (functional, regression, perf). Metrics. Risks. Finish line. Tools.
Test plan — Guiding the testing team on what to test, how to test, and when to test (Action plan = Test). All implemented and planned testing. Plan how to execute testing (how functional testing will occur, manual or auto). Answers “how” questions.

10 minutes test plan

  • How much time we have to test, what kind of testing we want to perform?
  • What does the software do (features)?
  • What needs to be tested? To get the answer to this question you need to ask what the software you are working on a KNOWN for.
  • What is tested now?
  • Attributes: Value proposition
  • the adverbs and adjectives that describe the high level concepts testing is meant to ensure. Attributes such as fast, usable, secure, accessible and so forth.

    Components

    the nouns that define the major code chunks that comprise the product. These are classes, module names and features of the application.

    Capabilities

    the verbs that describe user actions and activities.

What include in test plan?

Coverage (what kind of features are there, what needs to be tested), what will be manual and automated, test types)
Tooling and infrastructure
Process (how to use tests during release, is there any scheduled testing?, how to handle bugs, monitoring with metrics, acceptance criteria)
Risks

Test plan

Test plan — describes a list of tested components, quality criteria and risks of testing, resources to be used for testing, metrics by which results will be measured, testing strategy and testing types.

  • A document describing the scope, resources, and schedule of intended testing activities. It identifies test items, the features to be tested, the testing tasks, who will do each task, and any risks requiring contingency planning.
  • The test plan is a more detailed document that provides guidance to the testing team on how to perform testing.
  • Test methodologies and techniques: Describes the testing approaches and methods that will be used, such as black-box testing, white-box testing, regression testing, etc.
How to write a test plan?

Test strategy

Test Strategy provides a higher-level overview of the testing approach and objectives, helping stakeholders understand the overall direction and goals of the testing effort.

  • Testing objectives: Defines the overall goals of the testing effort, such as ensuring the quality of the product, meeting customer expectations, etc.
  • Test levels and types: Specifies the different levels of testing (e.g., unit testing, integration testing, system testing, etc.) and the testing types (e.g., functional testing, performance testing, security testing, etc.) that will be performed.
  • Test automation: Outlines the strategy for test automation, identifying which tests will be automated and the tools and frameworks that will be used.
  • Test data management: Describes how test data will be obtained, created, and managed throughout the testing process.
  • Documentation formats, test processes, team reporting structure, client communication strategy.
  • Defect management: Describes how defects will be reported, tracked, and resolved.
  • Test team organization: Describes the roles and responsibilities of the testing team members.
  • Entry and exit criteria: Specifies the conditions under which testing activities will begin and end for each testing phase.

Testing at Google

Small, medium, large tests

Resources

SuperMade with Super