Intro to Agile Testing
Last updated
Last updated
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).
Crystalise the environment into the perfect state.
Dig in and do the work.
Love the outcomes - and find the heartbreakers.
Club the environment back to what is was like before the test was run.