adrift on a cosmic ocean

Writings on various topics (mostly technical) from Oliver Hookins and Angela Collins. We currently reside in Sydney after almost a decade in Berlin, have three kids, and have far too little time to really justify having a blog.

Posts tagged with mocking

  • Exceptional circumstances
    Posted by Oliver on the 24th of November, 2011 in category Tech

    I'm still building up to my article on how to properly mock calls to Rake's sh to facilitate testing of your Rakefile tasks but I haven't quite worked up the strength to trace the calls through the libraries and into Eigenclass wonderland. For the moment, I've got just enough fodder to write a bit about determinism in testing.

    Since Friday, both a coworker and I have been hit by the same testing…

  • In-depth testing with Mocha
    Posted by Oliver on the 25th of February, 2011 in category Tech

    I've recently been satisfying my need for more programming time and reading up on some of the aspects which really complete a good application, like adequate organisation, good design and reusability of library functions, error handling and of course testing. I've been using Cucumber for a while now in conjunction with Puppet which represents the BDD aspect, but haven't really delved into TDD…

© 2010-2026 Oliver Hookins and Angela Collins