15 Portable test automation with Serenity/JS

This chapter covers

  • Designing the Domain layer of a test automation system
  • Design patterns supporting portable test automation
  • Leveraging non-UI interactions with blended testing
  • Test code encapsulation and reuse patterns

In chapter 14, you learned how following the layered architecture pattern can support you in designing scalable test automation systems. You’ve also seen how introducing a Specification layer can help you capture information about the business context and its rules, workflows, and scenarios, as well as the actors interacting with the system and the goals they’re trying to accomplish.

In this chapter, we’ll continue to explore the idea of layering the architecture of our test automation ...

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.