by dicroce · 4y ago · 0 comments
tbh unit testing is a balancing act between reaping code quality benefits and bogging yourself down with too much testing updating.
I'm constantly thinking where we need to put tests though, and in still not fully convinced I get it right. My rule of thumb is that each test should map to a specification point, and that spec is a necessary documentation line for the test.