# Software testing methods and when to use each

> Compare seven software testing methods in one approved plan: unit, API, Playwright, Gherkin, property-based, mutation and AI exploratory testing.

Source: https://cueapril.com/testing
Updated: 2026-10-12
Index: https://cueapril.com/llms.txt

- [Computer-use exploration](https://cueapril.com/testing/exploratory-testing): Investigate an approved browser journey and retain the evidence from what happened. Use it to learn how a journey behaves before anyone has scripted it.
- [Unit testing](https://cueapril.com/testing/unit-testing): Run supported unit suites against the exact source revision you are reviewing. Use it for fast feedback on individual functions and rules.
- [API testing](https://cueapril.com/testing/api-testing): Test responses, contracts and approved access boundaries with explicit expectations. Use it when a response, contract or access rule must hold for every caller.
- [Playwright testing](https://cueapril.com/testing/playwright-testing): Run browser checks and inspect the retained results of supported journeys. Use it when a critical user journey must keep working in a real browser.
- [Gherkin testing](https://cueapril.com/testing/gherkin-testing): Connect agreed Given, When, Then behaviour to executable checks. Use it when your team has agreed behaviour as Given, When, Then examples.
- [Property-based testing](https://cueapril.com/testing/property-based-testing): Challenge rules with generated inputs and combinations beyond individual examples. Use it when a business rule must hold across many input combinations.
- [Mutation testing](https://cueapril.com/testing/mutation-testing): Introduce controlled code changes and see which ones your tests fail to catch. Use it to find out whether passing tests would notice a change in behaviour.

## Your plan defines what runs.

The seven methods are implemented in the product. An evaluation confirms which stacks, tools and execution environments are qualified for your repository. Scope, permitted actions and spending limits are approved before a run.
