You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.
High-quality tests are crucial to ensuring that code consistently delivers value. The Page Object Model has emerged as an industry-standard best practice for building reusable, reliable, and robust browser tests, but few teams have adopted it. Without a clear path forward, many never move on from low-level Selenium tests. Test::Right is an opinionated browser testing framework that provides a flexible, powerful platform for building a robust test suite from the start.
gem install test_right
cd MY_APP
test_right install
Add the code to reset your database and restart the staging server (if necessary) to MY_APP/test/right/setup.rb
Change base_url in MY_APP/test/right/config.yml to the base URL of your application staging environment. For example, set it to http://localhost:3000/ for a standard Rails application.