Open source
Patching JsTestDriver
I hacked a little on JsTestDriver today, fixing a few bugs in some assertions, and possibly more interestingly - improved assertion error messages for certain types of objects.
Sinon.JS 0.6.0 - Fake XMLHttpRequest and improved test framework integration
Sinon.JS 0.6.0 is out and it features a new FakeXMLHttpRequest object and a high-level interface for testing xhr-dependent code along with improvements to sinon.sandbox and sinon.test.
Full article Sinon.JS 0.6.0 - Fake XMLHttpRequest and improved test framework integration.
Sinon.JS 0.5.0 Released
I've been holding off releasing Sinon until it's "done". Luckily, @augustl kicked me for not "releasing early, releasing often", so I got my act together.
Faking Timers and Dates with Sinon
In addition to low-level tools for stubbing and mocking and high-level tools to integrate with test runners, Sinon provides a few useful utilities. This post explains the first of these, which is fake timers and Dates.
Higer-level Stubbing and Mocking Tools in Sinon
Having covered the basic Sinon interface in one and a half posts I want to show you some of the higher-level tools Sinon brings to the table to reduce the amount of ceremony required to add stubs and mocks to your JavaScript tests. Hopefully, these tools will make it dead simple to properly integrate Sinon with any xUnit style test framework.
Full article Higer-level Stubbing and Mocking Tools in Sinon.
Test Spies, Stubs and Mocks - Part 1.5
While presenting the core Sinon interface yesterday i unintentionally left out parts of the API. To make up for the mistake, here are the missing pieces.
JavaScript Test Spies, Stubs and Mocks
One of the things coming out of me recently writing a book (apart from, you know, a book) is a JavaScript stubbing and mocking library (still in the making) called Sinon. This is the first of a total of three posts giving a preview on the API. Hopefully some of you want to share your ideas and feedback on it.
Twibot gets a bunch of new features
A couple of weeks ago I received a pull request from Mike Demers for Twibot. However, in contrast to the occasional bug fix I receive, this branch included several new features.
Upcoming updates to Juicer
It's been quiet around here for a while. It's been quiet around Juicer, too. Both of those are going to change. After being given a push, Juicer is now finally up for some updates.
Syntactical sugar for your JavaScript unit tests
After switching my Ruby tests from vanilla Test::Unit to
Shoulda (via
Jeremy McAnally's Context) a while back I've gotten quite used to sexy unit tests. Coming back to
JsUnitTest for JavaScript last night, I realized the syntac wasn't working for me anymore. So today, I fixed it.
Full article Syntactical sugar for your JavaScript unit tests.
Twibot: A microframework for Twitter bots in Ruby
Twibot 0.1.1 hit the RubyForge gem server today. Inside is a microframework for writing Twitter bots in Ruby, using a DSL heavily inspired by Sinatra.
Full article Twibot: A microframework for Twitter bots in Ruby.
Interview on open source release feed
opensourcereleasefeed.com caught interest in Juicer and posted an interview with me today. Part of their "5 questions" interview series, the talk is about Juicer as well as my interest in the open source community. Thanks alot to Schalk Neethling for showing Juicer some love. Check it out!