The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Integration tests in RoR 1.1

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Agnieszka Figiel

Posts: 50
Nickname: agnessa
Registered: Feb, 2006

Agnieszka Figiel is a Ruby on Rails programmer & coach
Integration tests in RoR 1.1 Posted: Mar 21, 2006 1:20 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Agnieszka Figiel.
Original Post: Integration tests in RoR 1.1
Feed Title: agnessa's blog
Feed URL: http://blog.agnessa.eu/xml/rss/feed.xml
Feed Description: ruby and rails impressions from a beginner developer
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Agnieszka Figiel
Latest Posts From agnessa's blog

Advertisement

While most of the community are over the moon about RoR 1.1 features and some even request an update of Agile Development With Rails from the authors, there’s an argument about improper naming of a new feature – integration tests.

Luke Redpath suggests to change the naming convention for RoR tests – stop referring to “controller unit tests” as “functional tests”, and rename the proposed “integration tests” to “acceptance/functional tests” (which actually are synonymous, but acceptance seems more widely used today).

While I couldn’t agree more with the first suggestion, the second one does not seem right to me. Acceptance tests are on the top of unit and integration tests (in the sense they complement them) by checking whether the application meets stakeholders’ requirements. The new RoR integration tests simply bring in the possibility to test multiple controllers, introduce a testing DSL in the form of custom assertions and allow multiple session handling in tests. While this makes it possible to test scenarios, it seems to me that it doesn’t make these tests black box/acceptance/functional. So even if “integration” is not the best word here, to me it seems better than “acceptance” anyway :)

Read: Integration tests in RoR 1.1

Topic: Got a Snazzy Capistrano Recipe? Previous Topic   Next Topic Topic: TextMate and Keyref, the TextMate shortcut reference PDF generator

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use