Unit Testing Config Files

I currently work with a project that is controlled by a configuration file.

It has become useful recently to write unit tests for the config file.
We check simple things such as duplicate and even validate keys against a public api.

Given that we are integrating with over 100 services a mistake can cause a large amount of errors. Unit tests help here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s