sutras test¶
Run tests defined for a skill.
Usage¶
sutras test <name> [OPTIONS]
Arguments¶
Argument |
Description |
Required |
|---|---|---|
|
Name of the skill to test |
Yes |
Options¶
Option |
Description |
Default |
|---|---|---|
|
Show detailed test output |
False |
|
Stop on first test failure |
False |
Examples¶
Run all tests¶
sutras test my-skill
Verbose output¶
sutras test my-skill --verbose
Stop on first failure¶
sutras test my-skill --fail-fast
Combine options¶
sutras test my-skill --verbose --fail-fast
Test Configuration¶
Tests are configured in sutras.yaml:
tests:
- name: "Basic functionality"
input: "Test input"
expected: "Expected output"