Intro to Agile Testing
4 Aces Model
An extension to the AAA pattern of testing that looks beyond the original intended unit testing methods. The additional A stands for "Annihilate", which is the important clean-up step after tests have been run to allow them to be run over and over.

For unit tests, this is simple, meaning that any potential disk writing or state change actions are mocked out or only affected within a short-lived memory space. But, for tests higher up in the test triangle, this may mean that transactions can be reversed or not committed or that the entire environment can be replaced (through methods like IAC).
♦ Arrange
Crystalise the environment into the perfect state.
♠ Act
Dig in and do the work.
♥ Assert
Love the outcomes - and find the heartbreakers.
♣ Annihilate
Club the environment back to what is was like before the test was run.
Last updated
Was this helpful?