Nick's Tech Blog

I'm a software developer, and these are my thoughts.

Testing Legacy Code

11 Oct 2018 | | | agile, legacy code, tests

Tests Are Great!

The last couple of iterations at work we’ve decided that increasing our test coverage is something we would like to prioritize. We’ve always had some tests that validate the database, but they require a developer to manually go in and add any new tables that should be checked to the test specification, along with the new table structure. Since these tests were first implemented we’ve gone through a database change, and are now supporting at a code-level two distinct different databases. Enter my idea: wouldn’t it be great if our tests could validate the two databases automatically regardless of if a developer remembers to add tests?

Continue Reading →