Ruby Raider

HI AGAIN!

Check out the project and get started on testing!
If you have any questions, feature requests or bugs to report go to our GitHub.

Download Raider Desktop for Your OS

Requires rbenv with Ruby 3.0.0+ and the ruby_raider gem (gem install ruby_raider).

macOS (Apple Silicon)

Get the .dmg installer for Macs with M1/M2/M3/M4 chips.

Download .dmg (ARM64)

Windows Beta

Download the .exe installer for Windows. Build generated via CI, not yet fully tested.

Download .exe

Linux Beta

Download the .AppImage package for your Linux distro. Build generated via CI, not yet fully tested.

Download for Linux

Documentation

Everything you need to get started with Ruby Raider CLI and Raider Desktop.

Installation

gem install ruby_raider

Create a New Project

Run the interactive project creator:

raider new [PROJECT_NAME]

Or skip the interactive menu with parameters:

raider new my_project -p framework:rspec automation:selenium

Optional Features

Add extra capabilities when creating a project:

raider new my_project --accessibility    # Add axe gem for a11y testing
raider new my_project --visual           # Add visual regression (chunky_png)
raider new my_project --performance      # Add Lighthouse performance testing

Skip Options

raider new my_project --skip_ci          # Skip CI/CD setup
raider new my_project --skip_video       # Skip video recording setup

Web Testing

Test frameworks: RSpec, Cucumber, Minitest

Automation drivers: Selenium, Watir, Capybara

Mobile Testing (Appium)

Test frameworks: RSpec, Cucumber, Minitest

Platforms: iOS, Android, Cross-Platform

Add-ons

  • Accessibility testing (axe gem)
  • Visual regression (chunky_png)
  • Performance testing (Lighthouse)
  • CI/CD: GitHub Actions, GitLab CI/CD
  • Reporters: allure, junit, json, both, all, or none

Use raider generate (or raider g) to scaffold test files:

CommandDescription
raider g page [NAME]Create a page object
raider g spec [NAME]Create an RSpec test
raider g feature [NAME]Create a Cucumber feature file
raider g steps [NAME]Create step definitions
raider g helper [NAME]Create a helper class
raider g component [NAME]Create a component class
raider g scaffold [NAME(S)]Create page + test + steps together
raider g destroy [NAME(S)]Delete scaffolded files
raider g from_url [URL]Generate page & spec from a live URL

Scaffolding Options

  • --from [FILE] — Generate spec from an existing page object
  • --ai — Use LLM for intelligent test scenario generation
  • --dry_run — Preview files without creating them
  • --uses [PAGES] — Specify page dependencies
  • --path [PATH] — Custom output path
  • --crud — Generate full CRUD scaffold (list, create, detail, edit + tests)

Use raider utility (or raider u) to configure your project:

CommandDescription
raider u browser [BROWSER]Set default browser
raider u browser_options [OPTS]Set browser options
raider u url [URL]Set default project URL
raider u path [PATH]Set default paths for scaffolding
raider u raidRun all tests
raider u timeout [SECONDS]Set test timeout
raider u viewport [DIMENSIONS]Set viewport (e.g. 1920x1080)
raider u platform [PLATFORM]Set platform for cross-platform tests
raider u debug [on/off]Toggle debug mode
raider u start_appiumStart Appium server
raider u llm [PROVIDER]Configure LLM (openai, anthropic, ollama)
CommandDescription
raider adoptImport an existing test project into Ruby Raider
raider versionShow current version
raider help [COMMAND]Describe available commands or one specific command
raider pm add [NAME]Add a plugin
raider pm delete [NAME]Remove a plugin
raider pm listList available plugins
raider pm localList installed plugins