frameworks • It has a clean, obvious syntax • It can be run anywhere you can execute JavaScript: • a static web page • a continuous integration environment • server-side environments like Node.js Saturday, November 12, 11
• spyOn(x, 'method').andCallFake(function) Jasmine integrates 'spies' that permit many spying, mocking, and faking behaviors. A 'spy' replaces the function it is spying on. Saturday, November 12, 11
init $ rake jasmine:ci https://github.com/netzpirat/guard-jasmine group :development, :test do gem 'guard-jasmine' end https://github.com/bradphelan/jasminerice Jasminerice removes any excuse YOU have for not testing your out of control sprawl of CoffeeScript files. Saturday, November 12, 11