Hacking together a ‘VCR' for JavaScript Apps





André Malan
@ramcio

SimpleReach
(we're hiring)

What is VCR?

Why do we need it?


More API calls than Rails by design
Our app can get crazy

What did we try?



fixture adapter
Mockjax

HACKING A JS VCR, WHAT DO YOU need?


Chrome

mockbuilder

Sinon.js



Hidden Benefits: Demos



Bad Wifi connection

Bugs

Servers melting

Go Play


http://sinonjs.org/
https://github.com/andremalan/mockbuilder

Hacking together a ‘VCR' for JavaScript Apps

By Andre Malan

Hacking together a ‘VCR' for JavaScript Apps

  • 1,111