On this page:
About Continuum for Ruby
Access Continuum for Ruby (Cucumber/Selenium) allows developers who are familiar with Cucumber and Selenium to easily embed automated accessibility testing for their applications written in Ruby, and address accessibility concerns during the development process.
Selenium is a browser automation tool. It automates web application for testing purpose and is one of the most popular automated testing tools. Cucumber is a Behavior Driven Development (BDD) testing tool.
Continuum for Ruby (Cucumber/Selenium) includes:
- Access Engine, specifically the automatic tests included with the Level Access accessibility testing engine
- A sample project that allows users to understand how to integrate accessibility testing into their current automated testing process
- A custom Cucumber library with useful keywords, defined in 'vendor/continuum-ruby-4.8.0/lib/continuum.rb'. This file also loads the Continuum Ruby SDK.
- Ruby 2.6+
- Google Chrome
Google Chrome is used out of the box in this sample project, but Mozilla Firefox and Microsoft Edge are also supported.
gem install bundler
Run accessibility tests:
bundle exec cucumber
Configure a URL to test in the features/a11y.feature file. Simply replace the URLs in that file with the ones you'd like to test and run `bundle exec cucumber` in your console or IDE.
Review Continuum for Ruby rich API documentation for all functionality supported out of the box.