The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
TestCase setup and teardown hooks

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
Duncan Beevers

Posts: 68
Nickname: dbeevers
Registered: May, 2008

Duncan Beevers is a hack and jester building shiny baubles from bytes and tears.
TestCase setup and teardown hooks Posted: Jun 6, 2008 1:55 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Duncan Beevers.
Original Post: TestCase setup and teardown hooks
Feed Title: dweebd
Feed URL: http://www.dweebd.com/feed/
Feed Description: Ruby ejecta from the leading edge
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Duncan Beevers
Latest Posts From dweebd

Advertisement
A little-known and very useful feature Rails brings to the table in terms of testing is a pair of callback hooks for Test::Unit::TestCase setup and teardown. The callback chains were introduced as part of the move toward a custom ActiveSupport::TestCase, but all the functionality of ActiveSupport::TestCase is exposed to Test::Unit::TestCase if you’re running Rails. Having these hooks [...]

Read: TestCase setup and teardown hooks

Topic: Installing SQLite 3 on Windows Previous Topic   Next Topic Topic: Dear Rubyists, When do you (not) use parentheses, and why (not)?

Sponsored Links



Google
  Web Artima.com   

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