Command Line
This is a command line tool for TestRigor. It allows you to run TestRigor tests from the command line.
Installation
- Install Node.js (version 18 or higher)
- Install TestRigor CLI:
npm install -g testrigor-cli
Examples
-
Basic
testrigor test-suite run <test-suite-id> --token <token>
-
With new URL
testrigor test-suite run <test-suite-id> --token <token> --url <url>
-
With branch
testrigor test-suite run <test-suite-id> --token <token> --branch <branch> --commit <commit>
-
With variables
testrigor test-suite run <test-suite-id> --token <token> --variables-path file.json
-
Localhost mode
testrigor test-suite run <test-suite-id> --token <token> --localhost --url <url>
-
With test cases
testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt}
-
With rules
testrigor test-suite run <test-suite-id> --token <token> --rules-path rules/**/*.yaml
-
With settings (can be JSON or YAML)
testrigor test-suite run <test-suite-id> --token <token> --settings-path settings.yaml
-
Run single test case
testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <id> --url <url>
-
Run single test case in localhost mode
testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <id> --localhost --url <url>
-
With all options
testrigor test-suite run <test-suite-id> --token <token> --url <url> --branch <branch> --commit <commit> --variables-path file.json --localhost --test-cases-path test_cases/**/*.{yaml,txt} --rules-path rules/**/*.{yaml,txt}
You're 15 Minutes Away From Automated Test Maintenance and Fewer Bugs in Production
Simply fill out your information and create your first test suite in seconds, with AI to help you do it easily and quickly.
Achieve More Than 90% Test Automation | |
Step by Step Walkthroughs and Help | |
14 Day Free Trial, Cancel Anytime |
“We spent so much time on maintenance when using Selenium, and we spend nearly zero time with maintenance using testRigor.”
Keith Powe VP Of Engineering - IDT