12 Scalable test automation with the Screenplay Pattern
This chapter covers
- Actor-centric testing and the Screenplay Pattern
- Interacting with the application with Screenplay Interactions
- Querying the state of the system with abilities and questions
- Grouping interactions together to model higher-level business tasks
- Integrating Screenplay code with Cucumber
As your test automation framework grows, you quickly realize that your biggest problem isn’t knowing how to automate each new scenario; it’s being able to add these new scenarios while at the same time keeping your code base simple and maintainable. As your test suite interacts with different UI components, APIs, databases and more, keeping your code simple and consistent can be harder and ...
Get BDD in Action, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.