user clicking around an application Where multiple modules or sections of code are combined and tested as a group Integration Testing Where the smallest testable part of an application is tested. Unit Testing
when you do Exercisms. Jasmine A ‘simple, flexible, fun’ testing framework - meaning you have to include utility libraries like Chai for things like ‘assertions’ Mocha Testing Frameworks
such as an idea’s existing quality and returns a value, such as the idea’s new promoted value Treating Idea as a ‘class’ or ‘object’, separate from the DOM, and testing that our function changes that object when called
that specifically integrate Jasmine and Rails Jasmine Gem or Jasmine Rails Teaspoon is a bridge that lets your JavaScript testing framework of choice hook into the Asset Pipeline. As a bonus, it includes many of the libraries needed to get up and running testing JavaScript Teaspoon Some Resources
a website in a test environment Capybara uses the same Domain Specific Language to drive a variety of browser and headless drivers. RackTest Selenium Capybara-webkit Poltergeist
Selenium Capybara-webkit & Poltergeist Will open a browser and click around while you watch it. Good for debugging, bad for test suite speed. Will run ‘headless’ (without opening a browser) - can be difficult to debug and may have consequences for transactional tests.