How CSV and JSON Snapshots Can Improve Code Reviews​

A snapshot file should be in a human-readable format, such as CSV or JSON. For example, a SQL query result can be a CSV file, which is a text file that can be reviewed in a pull request or opened in EXCEL. You can also use GIT to narrow down problems when investigating production errors. CSV is good for table data.

Another format is JSON, which is also a text file that can store hierarchical data. For example, you can store a Java object instance as a JSON string. This way, you can easily see your data model and improve it if needed.

JSON snapshots also help to find many errors during code reviews and save time and money in software development.

Your passionate tester, Andreas Hollmann

 

Leave a Comment

GDPR Cookie Consent with Real Cookie Banner