Well, I told you kids before I was ready for some action. In this DoubleDawg video, we roll our first couple of tests. They’re not thorough tests, they’re just a couple of quick tests that will serve as evidence we haven’t ruined the system in our first few refactorings.
There are at least three lessons in here:
- Know your tools.
- Write new-to-you tests by starting with an assert.
- It’s possible in many situations to get away with no code-study and empty arguments.