Testing
-
Necessary & Sufficient
How do you know your code is tested enough? How do you avoid tests that don't add value? Jim Weirich created a heuristic that can answer these! -
A first look at GitHub Actions
A walkthrough of a typical Node.js CI workflow using GitHub Actions, migrated from Travis CI. -
-
testdouble.js 2.0
The best mocking library for JavaScript testing has just gotten a whole lot better with today’s release of testdouble.js 2.0. This release irons out a few public API quirks found in the 1. -
Test organization with contexts
When testing we group common behavior and ideas. We can extend this further by using test contexts around the natural shared contexts of a subject under test. -
-
testdouble.js vs. sinon.js
I hate “X upstart vs. Y incumbent” technology posts. They’re reductive, provocative, and they cherry pick contexts favorable to the Shiny New Thing™ over the older, broader standard-bearer. So, if you’re happy using Sinon. -
-
-