Skip to main content

Identifying Patterns in Test Automation Code

25-minute Talk

You’ve inherited someone’s test code—now what? Learn to spot the good, the bad, and the missing patterns, fast.

Deep Dive session

Timetable

11:45 a.m. – 12:30 p.m. Tuesday 25th

Room

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

Test Automation

Audience

Test Automation Engineers

Key-Learnings

  • Analyse a code base looking for the use of patterns and antipatterns (Identify patterns & antipatterns used & potential use of patterns)
  • Judge the impact of the patterns being used in the code base
  • Plan suggestions on how to improve the code

You’ve just switched teams or companies, and you are being introduced to the test automation framework, and all its glorious underlying code. A scenario we’ve been in numerous times, and a scenario most of us will continue to experience. That code is now your code, there are new tests that need creating, test failures that need fixing and you are expected to hit the ground running.

We simply can’t just open an IDE and start writing code, we need to see what we are working with, we need to see what patterns are being used, and more important, which ones aren’t. This is an essential step in being successful on a new team, because without investigating the current code we simply can’t make good judgements on how to approach new work.

This doesn’t have to be a long process though. In this workshop we are going to explore a code base, quickly evaluate the patterns being used and make judgements on their use and practicality using our framework scorecard, that we’ll introduce in the workshop. In doing so, it’s also likely we won’t see some patterns we are perhaps used to seeing. That leads us to the final part of this short workshop, where we’ll plan suggestions on how to improve the code, and provide clear explanations as to why these suggestions are worth exploring.

Related Sessions

Mon, Nov 24 • 8:30 a.m. – 4:30 p.m.
F-,E- & D-Rooms

Full-Day Tutorial (6 hours)

Continuous Integration/Continuous Delivery (CI/CD) DevOps Test Automation

Virtual Pass session
Wed, Nov 26 • 11:45 a.m. – 12:30 p.m.
Room F1 - Track 1: Talks

25-minute Talk

Collaboration & Communication Test Automation Test Management

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
Wed, Nov 26 • 5:00 p.m. – 6:00 p.m.
Room F1+F2+F3 - Plenary

45-minute Keynote

Artificial Intelligence (AI) Test Automation