0.0.26-beta • Published 9 months ago

testrigor-cli v0.0.26-beta

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

TestRigor Command Line

This is a command line tool for TestRigor. It allows you to run TestRigor tests from the command line.

Installation

  1. Install Node.js (version 18 or higher)
  2. Install TestRigor CLI: npm install -g testrigor-cli

Examples

  1. Basic testrigor test-suite run <test-suite-id> --token <token>
  2. With new URL testrigor test-suite run <test-suite-id> --token <token> --url <url>
  3. With branch testrigor test-suite run <test-suite-id> --token <token> --branch <branch> --commit <commit>
  4. With variables testrigor test-suite run <test-suite-id> --token <token> --variables-path file.json
  5. Localhost mode testrigor test-suite run <test-suite-id> --token <token> --localhost
  6. With test cases testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt}
  7. With rules testrigor test-suite run <test-suite-id> --token <token> --rules-path rules/**/*.yaml
  8. With settings testrigor test-suite run <test-suite-id> --token <token> --settings-path settings.yaml (Can be YAML or JSON)
  9. Run a single test case testrigor test-suite run <test-suite-id> --token <token> --test-case-uuid <test-case-uuid>
  10. Run with create auto create ai rules enabled testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt} --auto-create-ai-rules
  11. Run with explicit mutations enabled testrigor test-suite run <test-suite-id> --token <token> --test-cases-path test_cases/**/*.{yaml,txt} --explicit-mutations
  12. 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} --auto-create-ai-rules --explicit-mutations
  13. Save JUnit report to ./junit-report.xml works only in sync mode: testrigor test-suite run <test-suite-id> --token <token> --junit-report-save-path ./report.xml
0.0.26-beta

9 months ago

0.0.24-beta

11 months ago

0.0.25-beta

11 months ago

0.0.23-beta

11 months ago

0.0.22-beta

1 year ago

0.0.21-beta

1 year ago

0.0.20-beta

1 year ago

0.0.18-beta

1 year ago

0.0.15-beta

1 year ago

0.0.17-beta

1 year ago

0.0.19-beta

1 year ago

0.0.16-beta

1 year ago

0.0.14-beta

1 year ago

0.0.12-beta

1 year ago

0.0.13-beta

1 year ago

0.0.11-beta

2 years ago

0.0.10-beta

2 years ago

0.0.9-beta

2 years ago

0.0.8-beta

2 years ago

0.0.7-beta

2 years ago

0.0.6-beta

2 years ago

0.0.5-beta

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago