Unit tests check logic, snapshot tests detect output changes, and end-to-end tests verify predefined journeys—but unexpected behavior often appears outside those paths.
Exploratory testing: learning while interacting
Exploratory testing starts with a goal, not a fixed script. Each observation informs the next action, and unexpected behavior becomes a reason to investigate further.
An AI agent with access to an app's interface can follow this loop:
Observe → act → inspect → decide what to explore next.
The developer defines the scope. The agent chooses interactions, tries alternative paths, and documents potential issues.…