Resource · Guide or article
Test planning
Shows how to derive test cases from a user story's acceptance criteria and group them into test plans, using a website login portal as the running example. It fits engineers who get asked how they would test a feature and want a structured, repeatable answer.
Reviewed
Open the original: Test planning (opens the original site in a new tab)Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
We should be intentional when we think about how to test our applications. One way to make sure that we are testing the right things is to build test plans for various scenarios and work out test cases at the design stage of a user story.
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Guide
What it covers
- Five steps from understanding acceptance criteria to automating hot paths and reviewing cases with peers
- A test case template of title, preconditions, steps and expected result, written in Given-When-Then form
- Five worked cases: valid and invalid login, a SQL injection attempt, form validation messages and a 99.9 percent monthly uptime check
- Full regression, smoke, functional and area regression plans with sample case lists
- Brief outlines of integration, UAT, load, security, compatibility, recovery and localization plans
How to use it
PrepKit study advice, not a claim made by the source.
Take a feature from your own work or a common prompt such as a password reset flow, and write one positive, one negative and one non-functional case in Given-When-Then form. Then say which of them belong in a smoke plan. The outcome is a test plan you can sketch on a whiteboard in a few minutes.
Scope and limitations
Team guidance rather than interview preparation. Examples stay on one login and registration scenario, and some sample test IDs in the plan lists are reused or mismatched, so treat them as illustrations. No tooling or automation code is included.
Access and format
Web page on microsoft.github.io from Microsoft's Code-With Engineering Playbook. English, free, CC BY 4.0.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 016770e43d8a
Evidence behind this overview
- docs/automated-testing/test-planning.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.