We put these steps in the order of one release. Three of them come from the Foundation Level syllabus of ISTQB in version 4.0.1, and the others from a post by Janet Gregory and Lisa Crispin, the publisher's page and a free extract of Explore It! by Elisabeth Hendrickson, and a short article by Martin Fowler, with the syllabus again in the last step.
ISTQB1. Start from the risks
The Foundation Level syllabus of ISTQB describes seven testing principles. The first says that testing can show that defects are present but cannot prove that there are no defects, and the second that testing everything is not feasible except in trivial cases, and that rather than attempting to test exhaustively, test techniques, test case prioritization and risk-based testing should be used to focus test efforts. Another principle says that a small number of system components usually contain most of the defects discovered. We take from this that the test plan of each release starts with the flows where a failure would hurt your users most and the parts that broke before, and you agree that list with your AI QA Engineer.
“Exhaustive testing is impossible.”
Certified Tester Foundation Level Syllabus v4.0.1, section 1.3, 2024ISTQB2. Agree when testing is done
Exit criteria, the same syllabus says, define what must be achieved to declare an activity completed, and they should be defined for each test level. Typical exit criteria include the number of unresolved defects and whether the planned tests have been executed. Running out of time or budget can also be viewed as a valid exit criterion, the syllabus adds, and it can be acceptable to end testing then, if the stakeholders have reviewed and accepted the risk to go live without further testing. We take from this that the bar for each release is written down with you before the first test run, and only your team accepts a risk that the bar leaves open.
Certified Tester Foundation Level Syllabus v4.0.1, section 5.1.3, 2024Janet Gregory and Lisa Crispin3. Plan the kinds of tests together
Gregory and Crispin, the authors of Agile Testing, write in a post of December 2020 that they have used the agile testing quadrants to plan since Brian Marick first wrote about them as an agile testing matrix in 2003. The quadrants let the whole team take responsibility for planning and executing testing activities, they write. In the quadrant of business-facing tests that critique the product, they note that there is no way to replicate every possible scenario of the customers, so teams also need to keep an eye on production usage with monitoring. We take from this that your test plan names which kinds of tests your developers own and which ones your AI QA Engineer runs, and your monitoring stays part of the picture after each release.
“The quadrants are a thinking tool.”
Applying the Agile Testing Quadrants to Continuous Delivery and DevOps Culture, Part 1, 2020Elisabeth Hendrickson4. Explore with a charter
The publisher's page of Explore It! says that rather than designing all tests in advance, explorers design and execute small, rapid experiments. In the free extract on charters, Hendrickson writes that charters that are too broad run the risk of not providing enough focus, and that rather than a single huge charter, it is better to craft multiple charters, each on a single area. You frame them with your stakeholders, she writes, to answer the most valuable questions about the software. We take from this that each release gets a few short charters next to the test plan, each one for an area that you agreed is risky, and what the exploring finds goes into the release mail.
“A good charter offers direction without overspecifying test actions.”
Explore It!, extract on charters, 2013ISTQB5. Write a bug that can be fixed
The syllabus says that a defect report should give those who handle and resolve the defect sufficient information to resolve the issue. Among the items that a report from dynamic testing typically includes, it lists a title with a short summary, the test object and the test environment, a description of the failure with the test steps and any relevant logs or screenshots, the expected and actual results, the severity, the priority to fix and the status. We take from this that each bug report gives the steps, the build, the expected and the actual result and pictures of the screen, and your team sets the priority of each bug.
Certified Tester Foundation Level Syllabus v4.0.1, section 5.5, 2024Martin Fowler6. Test the fix and what is around it
The ISTQB syllabus asks for confirmation testing, which confirms that an original defect has been fixed, and regression testing, which confirms that no adverse consequences have been caused by a change, also for a fix that has already been confirmation tested. In his short article on the test pyramid, Fowler argues that high-level tests are there as a second line of test defense, and he advises that before you fix a bug exposed by a high-level test, you replicate the bug with a unit test. We take from this that each fix gets tested again on the build it lands in, together with the flows next to it, and a bug that came back gets a test case that your engineers can turn into an automated test.
“Then the unit test ensures the bug stays dead.”
Test Pyramid, 2012