Step 1 of 6 · Testing - practitioner kit

Test Plan Template

Defines identity, authorization, threat model, instrumentation, case selection and closure for one authorized assessment.

Use this template

A template is not evidence. Fill in sanitized identifiers only.

  1. 01Plan
  2. 02Case
  3. 03Run
  4. 04Evidence
  5. 05Finding
  6. 06Regression

Purpose

Fixes what is tested, under whose authority, against which versions and with which evidence before any stimulus is introduced.

When used: Before the first run, and again whenever scope, versions or authorization change.

A. Assessment identity

Every later record refers back to these identifiers and versions. If a version changes mid-assessment, record a new plan revision rather than editing history.

A. Assessment identity
FieldWhat to record
Assessment IDStable identifier, for example ASM-2026-014. Reused in every run, evidence and finding record.
TitleShort descriptive name of the system and objective.
OwnerAccountable person on the system side who receives results.
Technical leadPerson responsible for execution quality and evidence handling.
Date / windowPlanned start and end, including time zone and any freeze periods.
EnvironmentSandbox, staging or faithful test environment; state how it differs from production.
System / application versionBuild, commit or release identifier of the application under test.
Model / provider / versionModel identifier and provider version string as reported by the provider or gateway.
Prompt / template versionVersion of system prompts, templates and orchestration instructions.
Policy versionVersion of authorization, data-flow and approval policies that the controls enforce.
Tool / catalogue / config versionTool registry, MCP catalogue snapshot, connector and retrieval configuration versions.

B. Authorization and governance

Testing without written authorization is out of scope for this toolkit. The plan records the authorization; it does not replace it.

B. Authorization and governance
FieldWhat to record
Authorizing ownerNamed person with authority over the systems in scope.
Written authorization referenceTicket, contract or memo identifier. Store the document itself in the agreed location.
In-scope systems / componentsApplications, agents, connectors, corpora and tools that may be exercised.
Out-of-scope systemsExplicit exclusions, including production data, third-party services and real external destinations.
Permitted actionsBenign operations allowed, for example changing a label on a fictional sandbox record.
Prohibited actionsDestructive operations, real exfiltration, credential use outside test accounts, evasion of monitoring, testing of real third parties.
Test identities / accountsDedicated or attributable test principals, their roles and what they can reach.
Stop conditionsEvents that halt testing immediately, such as unexpected access to real data or an effect outside the sandbox.
Emergency contact / escalationWho to call, in which order, and how fast.
Data handling / retentionWhere evidence is stored, who can access it, how long it is kept and how it is deleted.

C. Objective and threat model

C. Objective and threat model
FieldWhat to record
Business / security objectiveThe decision this assessment should inform, stated as a question.
Relevant testing domainsDomains from the Testing methodology that apply, for example RAG, agent boundaries, flow and egress.
Attack surfacesChannels through which untrusted content can reach model-visible context.
Trust boundariesWhere content changes trust level, and which component decides that.
PrincipalsUsers, service identities and agents whose authority actions run under.
ResourcesRecords, files, mailboxes or stores that actions can read or change.
ToolsCallable capabilities, their parameters and their side effects.
DestinationsWhere data can leave: network endpoints, messages, rendered links, files.
Sensitive data classesClasses the controls must protect; use fake data of each class in the sandbox.
Expected deterministic controlsApplication-owned controls that should decide independently of model output, such as authorization, flow policy, egress allowlist and approval binding.

D. Evidence and instrumentation plan

Decide before testing which records are authoritative. If a required source is missing, plan for Inconclusive rather than substituting model narration.

D. Evidence and instrumentation plan
FieldWhat to record
Required logsApplication, orchestration, control decision, tool gateway and provider audit logs needed for each evidence stage.
Correlation IDsHow a single run is traced across components: request, trace or conversation identifiers.
Timestamps / time synchronizationTime source, time zone and acceptable clock skew between systems.
Provider / application audit sourceSystem of record for downstream state, for example the sandbox record store audit log.
Evidence retention locationAccess-controlled storage for raw and normalized evidence.
Authoritative downstream-effect evidenceWhat exactly proves stage 7 for this system, for example a state read from the record store, not a model statement.

E. Test selection

E. Test selection
FieldWhat to record
Selected PI-TST casesCase IDs from the library, or local case IDs built with the Test Case Template.
Local adaptationsChanges to objective, oracle, fixtures or pass criteria, with rationale.
Positive controlsBenign in-scope operations that must succeed so a deny-all implementation cannot pass.
Number of controlled runsAt least three fresh-session runs per stimulus where model influence is part of the objective.
Sequencing / dependenciesOrder of baseline, positive control, stimulus and variants; resets between runs.

F. Reporting and closure

F. Reporting and closure
FieldWhat to record
Finding ownerWho writes and maintains finding records.
Remediation ownerWho owns fixes on the system side.
Retest criteriaWhich evidence closes a finding, recorded in the Regression Retest Record.
Residual-risk ownerWho accepts remaining risk in writing.
Sign-offNames, dates and plan revision that were signed.

Minimum viable plan

For small assessments, these fields are the floor. Anything below this is not a plan an independent reviewer could check.

Minimum viable plan
FieldWhy it cannot be skipped
Assessment ID and versionsWithout versions, results cannot be reproduced or retested.
Written authorization reference and scopeDefines what may be touched at all.
Prohibited actions and stop conditionsKeeps the test safe when something unexpected happens.
Objective and expected deterministic controlGives each case a decidable oracle.
Authoritative evidence source for downstream effectPrevents model narration from being treated as proof.
Selected cases with positive controlsPrevents deny-all implementations from passing.
Owner for findings and residual riskEnsures results lead to a decision.

How to use this template

  1. Fill sections A and B first and get sign-off before designing stimuli.
  2. Derive section C from the real architecture, not from a generic diagram.
  3. Treat section D as a precondition: if you cannot observe a stage, mark the affected case outcomes as at risk of Inconclusive now.
  4. Revise the plan, with a new revision number, whenever a model, prompt, policy or catalogue version changes.

Common mistakes

  • Writing the plan after testing has started.
  • Listing 'the model' as the control instead of an application-owned decision point.
  • Omitting positive controls, so a blocked everything result looks like success.
  • Naming no authoritative downstream source and later relying on chat transcripts.
  • Treating the plan as proof that the assessment was authorized or complete.