Podcast

13 : Cory House : How to Create Clean Test Automation Code

By Test Guild
  • Share:
Join the Guild for FREE

How to create clean test code

As test engineers, how often have we proclaimed that test automation code is real code– and should be treated like any other development project?

I say it all the time.

Since test automation code is development code, it should adhere to the same standards –code reviews and the like–just like any other development effort.

Cory House, author of the Pluralsight course Clean Code: Writing Code for Humans, shares with us his top tips for creating readable, easy to maintain test automation code.

About Cory House

CoryHouse_HeadShot

Cory is founder of Bitnative LLC, an agile software development and training consultancy, and creator  of OutlierDeveloper.com, a community for software developers who aspire to be exceptional. He is a Pluralsight author, INETA speaker, independent consultant, and blogger with 15 years experience in full-stack software development.

As a software architect at VinSolutions, Cory specializes in creating C# .NET and JavaScript based single page applications for the automotive industry. He regularly speaks on clean code, architecture, and software career development at conferences and user groups across the country and internationally.

Quotes & Insights from this Test Talk

  • Imagine no one could come and speak to you again, Imagine people can’t read any of your comments, and imagine that there is no documentation that they can go lean on to find out what you are trying to do. So all they have to read is your literal code. If you can convey your intent just with the code, then you are writing self documenting code
  • If you get confused reading your own code, obviously any other readers is really going to be in trouble
  • Write your tests code as if you are an author
  • The way you name you methods and classes help make test code to be more maintainable
  • Pair programming should be done when writing test automation code
  • There’s no problem so simple that a bad test automation developer can make complicated

My “rubber duck” :

RubberDuck

Resources

Cory's Online Courses:

Connect with Cory

May I Ask You For a Favor?

Thanks again for listening to the show. If it has helped you in any way, shape or form, please share it using the social media buttons you see on the page.

Additionally, reviews for the podcast on iTunes are extremely helpful and greatly appreciated! They do matter in the rankings of the show and I read each and every one of them.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

267: Smart Test Execution with Eran Sher

Posted on 08/25/2019

Do you run an entire automation test for every build because you don’t ...

266: Automation Journey and TestNG with Rex Jones II

Posted on 08/18/2019

In this episode we’ll test talk with Rex Jones about his automation testing ...

265: TestProject a Community Testing Platform with Mark Kardashov

Posted on 08/11/2019

In this episode, we’ll talk to Mark Kardashov, CEO and Co-Founder of TestProject, ...