c_Learn & Practice AILEARN/Choose the right kind of test
← Level 6 · Testing & verification
LEVEL 06 · 12 min

Choose the right kind of test

A unit test checks a small piece, an integration test checks cooperating pieces, and a browser test checks a user journey. Manual review catches visual and language issues too.

01

What is it?

A unit test checks a small piece, an integration test checks cooperating pieces, and a browser test checks a user journey. Manual review catches visual and language issues too.

02

Why it matters

Evidence connects an implementation to its requirements.

03

When to use it

Before accepting or releasing a change.

04

How to do it

  1. Read the explanation and identify the files or environment involved.
  2. For a search feature, define a text-matching unit case, a data-loading integration case, and a browser case that types a term and opens a result.
  3. Compare the result with the verification criteria below. Record what worked and what remains unclear.
05

Worked example

Goal

For a search feature, define a text-matching unit case, a data-loading integration case, and a browser case that types a term and opens a result.

06

Try it yourself

Repeat the exercise with your own wording or a second sample. Use the smallest change that demonstrates the idea.

Prompt builder
07

Verify your result

Each test protects a different meaningful failure instead of repeating the implementation.

08

Common mistakes

Measuring quality only by test count. Prefer important behavior and failure coverage.

09

How to recover

Stop at the first unexpected result. Preserve your current work, re-check the named file or environment, and repeat only the failing step. Ask for an explanation if the recovery is unclear.

Official references

Product interfaces and access can change. Use the linked official guide for current installation and account requirements.

OpenAI · Quickstart ↗Source review: 2026-09-16
Checkpoint
Esc · Close