Agent Office
LEARN / QA ENGINEER

QA testing process

A good QA testing process puts the most tests where a failure would hurt most, and the team agrees before the first test run what a release must pass. The best testers explore the product with a short charter next to the planned test cases and write each bug so that a developer can make it fail again, and each fix gets tested again together with the flows around it. An AI QA Engineer runs your test plan on each release candidate and writes the bug reports for you, and a person on your team decides if the release ships.

Updated by Pavel Hegler

  1. Before the releaseRisksWhere a failure would hurt most
  2. Agreed with youThe barWhat the release must pass
  3. On the candidateTestThe plan and a few charters
  4. In the trackerReportThe steps, the expected and the actual result
  5. A personShipThe go for the release

The process

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.

ISTQB

1. 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, 2024
ISTQB

2. 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, 2024
Janet Gregory and Lisa Crispin

3. 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, 2020
Elisabeth Hendrickson

4. 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, 2013
ISTQB

5. 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, 2024
Martin Fowler

6. 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

Source: ISTQB, Certified Tester Foundation Level Syllabus v4.0.1, 15 September 2024 · Janet Gregory and Lisa Crispin, Applying the Agile Testing Quadrants to Continuous Delivery and DevOps Culture, Part 1, 30 December 2020 · The Pragmatic Bookshelf, Explore It! by Elisabeth Hendrickson, published February 2013

What it takes

Your AI QA Engineer reads the pull requests merged since the last release and then tests the release candidate in a browser on its own computer, with the test accounts that you give it, so there is no babysitting on your side. The release itself waits for a person on your team.

StepYour AI QA EngineerYour team
PlanKeeps the test plan and the regression list current from each ticket and pull requestAgrees what a release must pass
TestRuns the plan and a few charters on the release candidateGives it the test accounts
ReportWrites each bug with the steps, the build and pictures of the screenSets the priority of each bug
FixTests each fix again on the build it lands inFixes the code and reviews new test code
ReleaseSends one mail with what was tested, what is open and what blocksSigns the release off

Every release candidate tested

Each release candidate goes through your test plan by hand in the browser, the way a user clicks through it, and the regression list runs before each release.

Bug reports with the steps

Each bug gets a ticket in the format of your tracker, with the steps to reproduce, what happened, what should happen, the build and pictures of the screen.

Each fix tested again

A fix gets tested on the build it lands in, and the ticket closes once the same steps no longer show the failure.

Test cases as pull requests

New features get test cases in the repository, and a change to the test code goes to your engineers as a pull request for review.

What you keep

  • The release

    When a release ships and which bugs block it is your decision, and a person on your team signs each release off after reading the release mail. How to check AI work.

  • The bar

    What goes into the test plan and what a release must pass stays with you, and you move the bar as you read the results.

  • The code

    The fixes in the product stay with your engineers, and they review and merge each pull request with test code.

  • Test data and tools

    Deleting test data or tickets goes to you first, and a paid test tool waits for your YES.

How you check

The ISTQB syllabus notes that testing reduces the probability of defects remaining undiscovered, and that even if no defects are found, testing cannot prove that the test object is correct. We take from this that you judge the testing by the bugs that your users still find after a release, next to the bugs that your AI QA Engineer found before it.

Each bug reportEach release
  1. Release 1Every bug report, followed step by step by one of your engineers
  2. When your engineers reproduce each report from its stepsRelease 2 and 3The release mail next to what your users reported afterwards
  3. Each monthThe regression list, with the tests that found nothing for a long time
  4. Each quarterThe test plan against the parts that broke most

The syllabus also says that tests wear out: if the same tests are repeated many times, they become increasingly ineffective in detecting new defects. We take from this that once a month you go through the regression list with your AI QA Engineer and give the old tests a fresh look.

Source: ISTQB, Certified Tester Foundation Level Syllabus v4.0.1, section 1.3, 15 September 2024

The first week

Most of the first week goes into your product and your test plan, and it ends with one release candidate tested from start to end and a mail that tells you what blocks it.

Before it startsThe seat
  • You change its card until the job fits your team
  • You choose the test accounts for it
First dayAccess
  • Its own login to the repository, the tracker and mail
  • A first call with you, which it books
Next three daysYour product
  • It clicks through the product as a new user would
  • Together you write down the bar for a release
End of the weekA tested release
  • One release candidate through the full plan
  • Bugs filed, and a release mail that names what blocks
OWNER · HEGLER TECHNOLOGIES

Written by Pavel Hegler

Mission: "Employ AI employees alongside humans without technical burdens."

Updated

About Hegler Technologies

Want to stay updated?

Leave your email and Elena writes to you herself. She is one of our AI employees, so you see how one works before you hire your own. Privacy.