STARWEST 2019 Tutorial: Clean Coding Practices for Test Automation

Conference archive


Tuesday, October 1, 2019 - 8:30am to 12:00pm

Clean Coding Practices for Test Automation

Add to calendar

We are often reminded by those experienced in writing test automation that code is code. The sentiment being conveyed is that test code should be written with the same care and rigor that production code is written. However, many people who write test code may not have experience writing production code, so it’s not exactly clear what is meant by this statement. And even those who write production code find that there are unique design patterns and code smells that are specific to test code in which they are not aware. Join Angie Jones for this workshop, at which, you will be given a smelly test automation code base which is littered with several bad coding practices such as long classes and methods, duplication and inefficient waits. Participants walk through each of the smells and discuss why it is considered a violation and then refactor the code to implement a cleaner approach. By the end of the workshop, you’ll be able to identify code smells with test code, understand the reasons why an approach is considered problematic and implement cleaner coding practices within test automation.

Angie Jones

Angie Jones is a Senior Developer Advocate who specializes in test automation strategies and techniques. She shares her wealth of knowledge by speaking and teaching at software conferences all over the world, as well as writing tutorials and blogs on As a Master Inventor, Angie is known for her innovative and out-of-the-box thinking style which has resulted in more than 25 patented inventions in the US and China. In her spare time, Angie volunteers with Black Girls Code to teach coding workshops to young girls in an effort to attract more women and minorities to tech.