1. 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!
    Time An icon of a clock Publish Date
    February 25, 2020
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    Testing
  2. 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.
    Time An icon of a clock Publish Date
    March 13, 2017
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    JavaScript
    Testing
  3. 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.
    Time An icon of a clock Publish Date
    February 17, 2017
    Person An icon of a human figure Authors
    Sam Jones
    Category An icon of a paper organzier Categories
    Testing
  4. 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.
    Time An icon of a clock Publish Date
    March 13, 2016
    Person An icon of a human figure Authors
    Justin Searls
    Category An icon of a paper organzier Categories
    JavaScript
    Testing

Search An icon of a magnifying glass Search the Blog