| name | test-skill |
| description | Use when working with a test skill for validation testing |
| metadata | {"author":"emasoft"} |
Test Skill
This skill teaches how to perform testing and validation tasks.
When to Use
Use this skill when:
- You need to test validation logic
- You want to verify plugin configurations
- You need to check fixture validity
Instructions
Follow these steps for testing:
- Identify what needs to be tested
- Create appropriate test fixtures
- Run the validation
- Check the results
Examples
Example 1: Basic Validation
from cpv_validation_common import ValidationReport
report = ValidationReport()
report.passed("Test passed successfully")
Example 2: Checking Errors
report = ValidationReport()
report.critical("Missing required field: name")
assert report.has_critical
Converted and distributed by TomeVault — claim your Tome and manage your conversions.