Unit Testing

Writing Maintainable Unit Tests

TL;DR – Writing maintainable unit tests starts with treating test code differently than your production code.

In my experience introducing unit tests to a project can come with its fair share of resistance. An argument I hear often is that test suites rarely provide an acceptable return on interest; the cost of maintenance is just too high.