Self-Asserting Test Supremacy
by Mark Bowytz
in CodeSOD
on 2014-06-25
Josh's team has an offshore group that "helps" with development tasks. Since they often provide code that doesn't do what it's supposed to do, they've started mandating unit test coverage. So, for the first round, they did do exactly what Josh's team asked - the offshore group provided 75% unit test coverage across all classes...and 0 assertions.
So, Josh's team explained what assertions were, and how they worked, and why they're important, and specifically that there needed to be more of them.