Testing
-
-
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. -
-
-
-
-
The failures of "Intro to TDD"
I’m now halfway through teaching a two-week crash course on “agile development stuff” to a team of very traditional enterprise Java developers. Condensing fifteen years of our community’s progress into 8 half-day workshops has presented an obvious challenge: given the clear time constraints, what set of ideas and practices could conceivably have the biggest positive impact on these developers’ professional lives?