Category Archives: REST

Antilles: Testing CLIs that use Web Services

We’re happy to announce our first OSS release, the antilles gem! Antilles is a companion to aruba that makes it easier to test CLIs that use web services by spawning a local stub HTTP server.  It’s an alternative to fakeweb, for cases like aruba, where fakeweb can’t be used because the process being tested can’t have its network conveniently […]

Leave a comment

BDD for secure REST APIs using cucumber, pickle, and rack-test

The moving parts of tddium communicate with each other using a JSON REST protocol.  The protocol is implemented using an API server written in Rails 3.  The entire rails app is covered with cucumber and rspec tests, and we don’t make changes without accompanying test coverage. Having reliable testing has been a pleasure.  It has […]

Leave a comment