Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Running a single test method with ZenTest (See related posts)

// HOWTO run a single test method.
// You need ZenTest installed (gem install ZenTest).

# Run ruby_fork in the background.
ruby_fork -rubygems -e 'require_gem "rails"' &

# Run a single test method.
ruby_fork_client -r test/functional/account_controller_test.rb -- -n test_unactivated_user_should_activate

You need to create an account or log in to post comments to this site.


Click here to browse all 5140 code snippets

Related Posts