12 Getting ready for BDD automation
This chapter covers
- Taking the risk out of BDD automation
- An overview of software design patterns
- An overview of BDD execution framework features
- Key principles of BDD automation and the SUITABLE mnemonic
- Choosing an automation strategy
Almost all software teams aspire to automate as much of their testing as possible. In practice, we have found that many test automation initiatives fail to deliver the expected benefits – faster feedback; increased coverage; reduced effort – and sometimes make matters worse by introducing new overheads, such as daily debugging of flakey automation. In this chapter we will see the WIMP team mitigate the risk of adopting BDD automation by treating it as a series of experiments.
There will always be some foundational learning needed when adopting a new way of working, which is why this chapter provides a whirlwind introduction to design patterns and BDD execution framework features. We then introduce the SUITABLE mnemonic that helps teams remember our eight key principles for BDD automation, before outlining the broad decisions that need to be made when choosing a test automation strategy.