The Sweet Spot
On software, engineering leadership, and anything shiny.

Category: tdd

2014
June
Mocks aren't stubs: mockist & classic testing

With the famed "TDD is dead" debate around the Rails community largely coming to an end, I found myself referencing Martin Fowler's article, [Mocks Aren't Stubs](http://martinfowler.com/articles/mocksArentStubs.html) a good deal, trying …

Running Mocha tests with ES6/AMD modules

In one of my personal projects ([Chordmeister](https://github.com/andrewhao/chordmeister)), I've been trying to upgrade the code to be written in [ES6 modules](http://wiki.ecmascript.org/doku.php?id=harmony:modules#export_declarations) and transpile down to AMD modules with Square's [very excellent …

2012
April
Speeding up Rspec/Cucumber feedback times without sacrificing coverage

[Rocket Fuelled Cucumbers](http://www.slideshare.net/josephwilk/rocket-fuelled-cucumbers) View more [presentations](http://www.slideshare.net/) from [Joseph Wilk](http://www.slideshare.net/josephwilk) One thing the Blurb devs have been discussing is how we can speed up our test feedback cycles without sacrificing coverage. …