Data-Centric Code Reviews for Automated Tests

Code review helps save money by catching mistakes early on. When dealing with automated tests, which are like step-by-step instructions for your computer, it’s not just about the instructions themselves – the data they use is also really important.

In my experience, when we review both the instructions and the data used in automated tests, we catch a lot of mistakes. Storing this data in simple formats like CSV or JSON makes it easy to review because we can see changes to instructions and related data changes at the same time.

During these reviews, you might hear questions like: (1) “Why did you change this data? It doesn’t seem related to your work,” or (2) “Why aren’t you checking the customer data? It’s important for the feature you implemented.”

To check the results of the instructions, I like to use something called snapshot testing. If you want to check more data and improve data coverage in your automated tests project, feel free to get in touch. I’d be happy to talk about your needs.

Your passionate tester, Andreas Hollmann

Leave a Comment

GDPR Cookie Consent with Real Cookie Banner