Test Skill

Use when working with a test skill for validation testing

tomevault-io Updated

File contents

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:

  1. Identify what needs to be tested
  2. Create appropriate test fixtures
  3. Run the validation
  4. 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.

tomevault-io/skills-registry/tree/main/emasoft--claude-plugins-validation--test-skill commit afc911b1b2

Frequently asked questions

npx skillmds@latest add tomevault-io/test-skill-19