Nock – HTTP mocking and expectations library
github.com
github.com
edit: yes, at least 5 years old, but bloody esoteric http://moronlab.blogspot.com/2010/01/nock-maxwells-equations...
- Delayed responses. - Delayed connections. - Custom HTTP verbs for ones that don't have convenience methods. - Nock Back
I believe recording had just been introduced when I was using the library, but Nock Back is seems like the last piece that brings it on par with the VCR lib I was used to using with Ruby / RSpec projects.
It's always nice to scroll through a project you've had a good experience with and see the README has been considerably fleshed out (in a good way).
Also a shout out for hock which gives the same API as mock but useful for mocking external services - https://github.com/mmalecki/hock.