Rails Testing

The default testing framework for Rails lives in the test sub-tree. However, many Rails developers have adopted the RSpec approach, in the form of RSpec on Rails. So, Arti will need to be conversant with both approaches.

Although prevailing practice in writing tests is to avoid "cute" code, trying to predict program behavior from static code analysis is a chancy business. Fortunately, in most cases, it should be possible to run (suitably instrumented versions of) the tests and collect all sorts of useful information.

This wiki page is maintained by Rich Morin, an independent consultant specializing in software design, development, and documentation. Please feel free to email comments, inquiries, suggestions, etc!

This topic: Projects/Arti/Patterns > WebHome > Rails_Testing
Topic revision: 08 Jun 2008, RichMorin
This site is powered by Foswiki Copyright © by the contributing authors. All material on this wiki is the property of the contributing authors.
Foswiki version v2.1.6, Release Foswiki-2.1.6, Plugin API version 2.4
Ideas, requests, problems regarding CFCL Wiki? Send us email