Unit test your obvious code


Sometimes you don't write unit tests. Your reason for not doing so always falls into one of two categories. Complexity The code you just wrote would be so much easier to test using system-level testing. For example... The setup and teardown would be 10x the test code. There's too much interaction with multiple data stores … Continue reading Unit test your obvious code