pytest-like decorators for AI tests.
Test output against criteria:
Parameters:
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| criteria | str | - | Criteria to evaluate |
criteria
str
| threshold | float | 7.0 | Pass threshold |
threshold
float
7.0
Test output accuracy:
Skip a test:
Conditional skip:
Expected failure:
| reason | str | "" | Reason for expected failure |
reason
""
| strict | bool | False | Fail if test passes |
strict
bool
False