Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.
epall edited this page Apr 28, 2011 · 6 revisions

test_right is an opinionated browser testing framework designed to help users get maximum value out of their tests. It encourages good test suite design and practices from the start, and it abstracts away some of the complexity of dealing with AJAX.

Setup

gem install test_right
cd MY_APP
test_right install
  1. Change @base_url@ in @MY_APP/test/right/config.yml@ to the base URL of your application staging environment. For example, you might set it to @http://localhost:3000/@ for a standard Rails application.
  2. Add the code to reset your database and restart the staging server (if necessary) to @MY_APP/test/right/setup.rb@
  3. Build some Widgets
  4. Describe some Features
  5. Run @test_right@ to test your app!
Clone this wiki locally