Skip to main content

The Importance of Using Patterns in Test Automation

25-minute Talk

Test code needs the same love as production code. Without solid patterns, your tests will rot. Let's fix that before trust in them vanishes.

Deep Dive session

Timetable

10:45 a.m. – 11:30 a.m. Tuesday 25th

Room

Room D1+D2 - Track 6: Test Automation Deep Dive

Test Automation

Audience

Test Automation Engineers

Key-Learnings

  • Describe why patterns are useful/ required/ necessary & identify the principles of good design patterns
  • Explain the impact of not following patterns & the fundamental principles that automation design patterns are built on
  • Recite a list of good and bad patterns commonly used within automated testing

What’s more important, production code or test code? Well, it’s clearly production code, which is why we have teams of people working on it. But, don’t we use test code to inform us about the quality of the product code? Indeed we do, that’s why it’s imperative we treat test code like production code, and that means following patterns and good practices.

Without clear design and implementation patterns, automation code will become unmanageable. This leads to longer time to create new tests, fix tests and test execution - time most teams can’t afford to lose. It can also lead to brittleness, flakiness and false positives, that over time start to reduce the trust we have in our tests.

In this talk, the first session of our Automation Patterns deep dive, we are going to discuss why patterns are essential, and discuss the impact of not following them. We’ll provide examples of good patterns along with the fundamental principals they are built on. We’ll share common bad patterns we’ve seen, and provide better alternatives.

Related Sessions

Mon, Nov 24 • 8:30 a.m. – 4:30 p.m.

Full-Day Tutorial (6 hours)

Test Automation Testing Tools

Deep Dive session
Thu, Nov 27 • 10:45 a.m. – 12:30 p.m.
Room D5 - Track 8: Security Testing Deep Dive

105-minute Workshop

Artificial Intelligence (AI) Security Testing Test Automation

Virtual Pass session
Tue, Nov 25 • 11:45 a.m. – 12:30 p.m.
Room F3 - Track 3: Talks

25-minute Talk

Career Development Coding for Testers Test Automation

Virtual Pass session
Thu, Nov 27 • 4:00 p.m. – 4:45 p.m.
Room F1 - Track 1: Talks

25-minute Talk

Coding for Testers Collaboration & Communication Test Automation