learning Self Care: a Geek's Perspective Self care doesn't seem to be well understood outside of certain circles these days. My hope with this article is to arm you to take better care of yourself - a skill whose importance has come into sharp relief in the current pandemic.
testing Quickening: Mocking in Jest Brian and I sat down this morning and it took us an hour and a half to bang out two solid tests using Jest's mocking capabilities. When I realized that he and I together represent 40 years of software development experience I thought "should
testing Interlude: Test data randomization I have nothing against the practice of randomizing test data. It's a practice like any other and I'm sure some day I might find a valid use case for it. But there are risks that come with test data randomization that shouldn't be ignored
tdd Driving code design, through tests (IV) In the context of TDD, tests that only exercise the unit level are some of the most restrictive tests you can write, especially if you are maintaining a 1-to-1 relationship between implementation code and test code.
tdd Driving code design, through tests (III) The mechanics of Test-Driven Development are pretty easy to grasp, but the addition of a couple of heuristics will really make the practice sing.
tdd Driving code design, through tests (II) The mechanics of TDD are pretty easy to learn, but take special care that your tests will be readable to Future You, who has to solve any issues with the code.
tdd Driving code design, through tests (I) "Test Driven Development" is not a testing strategy. It's a design strategy.