manish's blog
Testing with Ruby on Rails
Posted January 4th, 2008 by manish
- From the moment we create a new application using the Rails command simply creates the test directory structure.
- Every time we run the generate script to create a model or a controller, Rails creates a test file to hold a corresponding test stub.
- A Rails test suite is split into three fundamental parts
a. Unit Tests – Unit tests cover model-level functionality, which generally encompasses an application’s sore business logic.