Testing and Debugging
Posted in Ruby on RailsTesting is a number of different types of testing are supported by Rails, including automated and integration testing. The concept of automated testing isn’t new to the world traditional software development, but it’s fairly uncommon in web application development. While most Java-based web applications make use of comprehensive testing facilities,
a large number of PHP and Perl web applications go live after only some manual tests have been performed (and sometimes without any testing at all!). Although performing automated tests may be an option, developers may decide not to use them for reasons ranging from the complexity of the task to time constraints.
The generate command that we introduced a moment ago can automatically create testing templates that you can use with your controllers, views, and models.
(more…)
