How Do I Know If My Unit Tests Are High Quality?

I get asked a lot how we can tell if our unit tests are actually any good. When doing test code review, there's a lot of factors I look for to judge whether or not they are effective, quality unit tests. For a project I am working on, I'm looking for some examples of code … Continue reading How Do I Know If My Unit Tests Are High Quality?

Code Quality Enforcement via Git Pre-Commit Hook

There are a lot of methods for measuring the quality of a codebase, but if you're not running these tools locally, it's much harder to make headway on improvements. I always suggest running quality checks before pushing changes, so I wrote a git hook to enforce the quality checks before commit. A git hook is a script that … Continue reading Code Quality Enforcement via Git Pre-Commit Hook