Check out the project and get started on testing!
If you have any questions, feature requests or bugs to report go to our GitHub.
Requires rbenv with Ruby 3.0.0+ and the ruby_raider gem (gem install ruby_raider).
Download the .exe installer for Windows. Build generated via CI, not yet fully tested.
Download .exeDownload the .AppImage package for your Linux distro. Build generated via CI, not yet fully tested.
Download for LinuxEverything you need to get started with Ruby Raider CLI and Raider Desktop.
gem install ruby_raider
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
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
raider new my_project --skip_ci # Skip CI/CD setup
raider new my_project --skip_video # Skip video recording setup
Test frameworks: RSpec, Cucumber, Minitest
Automation drivers: Selenium, Watir, Capybara
Test frameworks: RSpec, Cucumber, Minitest
Platforms: iOS, Android, Cross-Platform
Use raider generate (or raider g) to scaffold test files:
| Command | Description |
|---|---|
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 |
--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:
| Command | Description |
|---|---|
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 raid | Run 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_appium | Start Appium server |
raider u llm [PROVIDER] | Configure LLM (openai, anthropic, ollama) |
| Command | Description |
|---|---|
raider adopt | Import an existing test project into Ruby Raider |
raider version | Show 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 list | List available plugins |
raider pm local | List installed plugins |