Efficient Rails Test-Driven Development - by Wolfram Arnold
- Class 1
- the economics of testing
- Testing in layers, design patterns
- Toolbox: RSpec with Rails
- RSpec & Models
- Class 2
- A culture of testing: Why TDD? How to TDD?
- Testing & Date Dependencies
- Toolbox: Fixtures, Factories, Mocks & Stubs
- Class 3
- Controller testing
- View, Helper, Routes Testing
- How much is enough? How much is too much?
- Class 4
- Refactoring code & tests, custom matchers
- API Testing
- Remote data setup
- Cucumber for API testing & documentation
- Class 5
- Class 6
- Integration frameworks (Cucumber, Webrat, Capybara, and Selenium)
- Integration testing with Selenium (advantages and problems)
- Page Objects
- Locators (Selenium, CSS and XPath locators)
- RSpec Custom Matchers
- Testing for Access Control