Create, read, update and delete testing: checking the whole life of a record
Build a grid of records against create, read, update and delete. Test each box, then the moments between boxes and what each role may do.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: the life of a library book. A library adds a book to its catalogue. People look it up. Sometimes the details are corrected. One day the book is taken off the shelf for good. A careful librarian checks the whole life and not only the first day. Once the book is gone, can anyone still find it in the catalogue? After a correction, is the old title gone? Can a visitor remove books?
Daily List is a to-do list app. Tom tests how a task lives in it. Mei tells him not to stop at "I can add a task". Check that you can find it, change it and remove it, and that the right people can do each.
The four actions are create, read, (). A CRUD test matrix is a grid of records against the four actions, with a test in each box.
that depends on what came before, such as reading a task after it was deleted, is an . A check of what each user role may do is a role permission check.
The picture has limits. A library book has one keeper at a time, but an app has many users who change the same record and hold different rights.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Testing every action on a record, then the moments between actions, then what each user role may and may not do.
- List the records
- Draw the four actions
- Test every box
- Add checks between actions
- Repeat for each role
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Adding a book to the catalogue | Create |
| Looking a book up | Read |
| Correcting the details | Update |
| Taking the book off the shelf | Delete |
| Checking the catalogue afterwards | An order-dependent check |
WHERE THIS PICTURE STOPS
- A library book has one keeper. An app record can be changed by many users at once.
- A visitor is simply a visitor. In an app, each role has its own rights to test.
- A catalogue shows a book or does not. A deleted record can be hidden, kept or removed.
HOOK
Fill every box, then test between the boxes.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Fill every box first, then test the moments between boxes. Then repeat the whole grid for each role.
| In the trick | What it stands for |
|---|---|
| Every box | One test for each record and action |
| Between boxes | Order checks such as read after delete |
| Each role | Allowed boxes and refused boxes |
TELL A FRIEND
A test matrix gives each record and action a test. Then add order checks such as read after delete, and repeat the grid for each role.
OFTEN MIXED UP WITH State transition testing. State transition testing checks the allowed moves between statuses. This lesson checks the actions on a record across its whole life.
PRACTISE AND KEEP
Sources for this topic — 6 sources
- Market practice
Certified Tester Advanced Level Test Analyst (CTAL-TA) Syllabus v4.0 ↗ — US member board of the International Software Testing Qualifications Board · Mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter, read in full text: section 3.2.1 (TA-3.2.1, K2) explain CRUD testing. Completeness testing is static and checks that every entity has all four operations. Consistency testing is dynamic, covers the CRUD matrix, and adds negative tests such as reading an entity not yet created. Chapter 3 holds three behaviour-based techniques: CRUD, state transition and scenario-based testing
Text read in full from a mirror copy of the publisher PDF (ISTQB syllabus CTAL-TA v4.0 GA, 2 May 2025), version checked against the document's own front matter. The page at this URL was not opened. Licence terms were not read, so put it in your own words and do not quote it.
- Market practice
Analysis and Design Techniques course page on the matrix of create, read, update and delete (DePaul University) ↗ — DePaul University · A worked matrix of create, read, update and delete that maps data to processes; the idea is reused here for tests (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Extended matrix of create, read, update and delete: data operations business analysts must know (Adaptive US) ↗ — Adaptive US · An extended matrix that adds user roles to show who holds which permission; written for analysts, reused here for tests (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Five essential heuristics every tester should know (Ministry of Testing club) ↗ — Ministry of Testing · CRUD framed as the actions a tester can take on a thing in a system, such as checking that a created record can be read back and matches the input (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, its rules and the people are invented. The Python run uses a toy store with two roles and two bugs planted on purpose. A real app has a database, more roles and many users at once.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Market practice
ISTQB CTAL-TA syllabus v 4.0 GA ↗ — International Software Testing Qualifications Board · ISTQB CTAL-TA v4.0 GA, 2 May 2025; publisher PDF opened 6 November 2026. Relevant technique and coverage sections: 3.1–3.3, selection 3.5, model review 5.2. Daily List is a synthetic worked application.
Version 4.0 GA, 2 May 2025; front matter checked. Publisher PDF opened 6 November 2026. Paraphrased for teaching; no licence claim.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.