Approval testing is well known as a good approach for getting control over legacy code. It’s also known as “characterisation testing” or “Golden Master”. In this course we’ll go through some typical legacy situations and how to get going with approval testing. You can achieve a high level of confidence in your tests for relatively little effort.
What’s less known is Approval Testing is also useful for developing new code, in particular together with Behaviour-Driven Development. The usual tools for automating BDD scenarios as tests are SpecFlow and Cucumber which both use the Gherkin (Given-When-Then) syntax. In some domains, an approval testing approach can work even better for describing scenarios. You formulate requirements visually and engage business stakeholders with tests written in a language they can understand. Part of this workshop will show examples of using Approval testing in this way, and go through pros and cons of the approach.