A lightweight test runner that discovers and executes ScorpioX test suites, reporting results with clear pass/fail output.
| Flag | Short | Description | Takes Value |
|---|---|---|---|
--help |
-h |
Show help message and exit | No |
--verbose |
-v |
Enable verbose output with detailed test results | No |
--all |
-a |
Run all test suites including slow integration tests | No |
# Run all discovered tests in the current project
$ scorpiox-runtest
✓ test_config_load ............. PASS (12ms)
✓ test_config_save ............. PASS (8ms)
✓ test_init_workspace .......... PASS (45ms)
✗ test_network_timeout ......... FAIL (3012ms)
Results: 3 passed, 1 failed, 4 total (3.08s)
# Run with verbose output for debugging
$ scorpiox-runtest --verbose
[SUITE] config_tests (3 cases)
[RUN] test_config_load
→ Loading config from ./sx.toml
→ Parsed 12 keys
[PASS] test_config_load (12ms)
[RUN] test_config_save
→ Writing config to /tmp/sx_test.toml
→ Verified 12 keys persisted
[PASS] test_config_save (8ms)
...
# Run all tests including slow integration suites
$ scorpiox-runtest --all
Discovering test suites...
Found: config_tests (3 cases)
Found: init_tests (5 cases)
Found: network_integration (12 cases) [slow]
Found: fs_integration (8 cases) [slow]
Running 28 test cases across 4 suites...
Results: 26 passed, 2 failed, 28 total (14.2s)
# Combine flags for full diagnostic output
$ scorpiox-runtest -v -a
[SUITE] config_tests (3 cases)
[RUN] test_config_load
...
# Display help information
$ scorpiox-runtest --help
scorpiox-runtest — Test runner for scorpiox test suites
USAGE:
scorpiox-runtest [OPTIONS]
OPTIONS:
-h, --help Show this help message
-v, --verbose Enable verbose output
-a, --all Run all suites including slow tests