Observable behaviour

Observable behaviour image
The externally visible outcome of a system action that a test can verify, as distinct from internal implementation details. In test automation, assertions should check observable behaviour rather than internal state: for example, checking that a specific error message appears on screen, or that a button becomes visible after a reset, rather than checking a variable value inside the code. AI-generated assertions sometimes check implementation details that are brittle or invisible to the user, so reviewing whether each assertion targets a genuine observable outcome is one of the key disciplines when reviewing AI-produced automation code.
Explore MoT
Test Forward 2027 · Software Quality in the age of AI image
Tue, 19 Jan 2027
Test Forward is one afternoon at Station F with the QA and engineering people closing that gap in their own teams.
MoT Software Quality Engineering Certificate image
Boost your career in quality engineering with the MoT Software Quality Engineering Certificate.
This Week in Quality image
Debrief the week in Quality via a community radio show hosted by Simon Tomes and members of the community
Subscribe to our newsletter