testing episodes
#116
Jun 30, 2008
24 comments
Selenium
Selenium is a great way to test your app automatically through a browser. See how it works in this episode.
Fixtures in Rails 2.0
In Rails 2.0, fixtures see many improvements which makes them much easier to manage. Watch this episode for details.
Testing Controllers with RSpec
Controllers are tricky to test, and there's no perfect way to do it. In this episode you will see how I test controllers, and my reasoning behind it.
Testing without Fixtures
Tests which rely heavily on fixtures are brittle and can be difficult to maintain. This episode will show a couple techniques for creating tests which don't use fixtures.
Refactoring User Name Part 3
In the final part of this series you will see how to refactor your tests. Keeping tests clean is important because it will make testing easier to do in the future.
Refactoring User Name Part 2
Testing and refactoring go hand in hand. Refactoring is all about improving code without changing its behavior. Testing is all about making sure you don't change the behavior while you are improving the code.




