liveBook · Manning

Test planning

As explained in Software Testing with Generative AI

Test planning is the systematic preparation of how software testing will be conducted, including its scope, approach, and documentation.

Test planning prepares how software testing will be conducted by identifying the product and project risks that testing should define and mitigate. It may appear as informal notes, acceptance criteria, a one-page plan, or formal documentation. section 5.1 section 5.5

A risk-focused planning process can:

  • Identify specific, measurable risks for a feature, epic, or project. section 5.1
  • Use those risks to decide what types of testing and test ideas are needed. section 5.1
  • Break a system or feature into meaningful parts with visual or mental models. section 5.5
  • Create focused prompts that ask an LLM for suggestions about specific system parts rather than generic test suites. section 5.3 section 5.5
  • Review generated risks and test cases skeptically, treating LLM output as assistance rather than authority. section 5.4.1

Focused planning prompt

Instead of asking an LLM to generate every test for a project, first model a specific feature or system segment, identify the risks that matter, and request test ideas for that part. Evaluate the suggestions for relevance, omissions, and potential monoculture before using them. section 5.3 section 5.4.1

Figure 5.1 A diagram showing the relationship of risk and test planning

Use the risk-and-test-planning relationship as a navigation model for connecting identified risks to planned testing. section 5.1

How Software Testing with Generative AI covers it

How deep it goes
Explains planning forms, risk linkage, modeling, focused prompting, and review, but stops short of prescribing one fixed template or process.
Examples
Uses informal notes, one-page plans, acceptance criteria, formal templates, system models, prompts, and generated test ideas.
What it assumes
Assumes a feature, epic, project, or system to examine and teaches planning from risks rather than from a mandatory document format.
What you can do after
Apply it via risk identification, system modeling, focused prompting, and skeptical evaluation of suggested tests.
How it connects
Connects risk-based testing with acceptance criteria, software testing, system modeling, prompting, and large language models.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Testing with Generative AI. The section links point to the parts of the book it draws on.