chapter fifteen
15 Mise-en-scène patterns for layering the automation codebase
This chapter covers
- Test automation through outer interfaces of the application
- Options for running the application under test
- Separating the automation code from the step definitions
- Extracting infrastructure specific details from the automation code
- Extracting cross-cutting, non-functional concerns from the automation code
- Enabling step definition reuse while supporting various expected outcomes
- Making the application interface that a scenario targets configurable
- Facilitating fast feedback despite the presence of problematic dependencies
- An overview of some relevant patterns that are widely used in the industry
The patterns described in this chapter allow us to cleanly and maintainably set the stage for our scenario automation. They provide all the tools needed to deliver on our automation strategy decisions. Mise-en-scène is the term used in film and the theatre that encompasses the stage design and the arrangement of actors. That is what these patterns enable: