On 5 Feb 2009, at 16:55, David Chelimsky wrote:
We also have a naming conflict in terms of test categories. The definitions as I understand them are: * Unit tests test units - generally one object at a time, or perhaps more than one object that live within a single component, but never crossing the component/layer boundary. * Integration tests test integration - between two or more components. * Functional tests test functionality - of the application as a whole (more like cucumber scenarios) By these definitions: * what Rails calls unit tests are really integration tests (model and database layers) * what Rails calls functional tests are really bigger integration tests (controller + model + database) * what Rails calls integration tests are really functional tests (scenarios that take you through routing) Confused? Me too.
And me. As much as Rails has done to promote automated testing, I feel like this confused and confusing language is a real setback.
Matt Wynne http://blog.mattwynne.net http://www.songkick.com _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users