corpus-test

Runs predefined workflows to regression-test custom software builds and trigger CI/CD pipelines.

5|5|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/erraggy/oastools --skill corpus-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: corpus-test
Source: https://github.com/erraggy/oastools/tree/main/.claude/skills/corpus-test
Command: npx skills add https://github.com/erraggy/oastools --skill corpus-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Corpus regression testing for real-world OpenAPI specs to ensure fixes apply across a diverse set of APIs and catch regressions early.

Core Features & Use Cases

  • Integrates a corpus of real-world OpenAPI specs for regression testing and validation workflows.
  • Provides a guided workflow: check corpus availability, download if needed, run tests in full or short mode, analyze results, and generate reports.
  • Use Case: run all corpus tests to verify parser/validator/fixer behaviors across multiple specs and track regressions between releases.

Quick Start

Run corpus tests using the default workflow to execute all tests and report results.

Frequently Asked Questions about corpus-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is corpus regression testing for OpenAPI specs?

Corpus regression testing validates parser and fixer behaviors across a diverse set of real-world OpenAPI specs to catch regressions early. It executes integration tests against a stored corpus, reporting parse, validate, and fix outcomes with per-spec notes.

How do I run integration tests against a stored OpenAPI corpus?

Run integration tests against an OpenAPI corpus by checking corpus availability, downloading it if needed via Makefile targets, and executing tests in full or short mode. The workflow uses Glob-based discovery and reports parse, validate, and fix outcomes across multiple specs.

Does corpus testing require any specific dependencies or environment setup?

Corpus testing requires a Glob-based corpus discovery step and Makefile targets for corpus download and test execution. It also uses a fixer to resolve validation issues during the automated regression testing workflow.

Can I run a short test mode for OpenAPI validation instead of the full corpus?

You can run a short test mode instead of the full corpus to validate OpenAPI specs more quickly. Both modes execute integration tests and report parse, validate, and fix outcomes, allowing flexible regression testing between releases.

Why does my OpenAPI corpus regression test report validation issues?

OpenAPI corpus regression tests report validation issues to identify spec parsing or validation failures across the corpus. The workflow uses a fixer to resolve these validation issues and tracks regressions across multiple specs between releases.

What's the best way to track regressions across real-world OpenAPI specs?

The best way to track regressions across real-world OpenAPI specs is automated corpus regression testing. By running integration tests against a stored corpus, you verify parser, validator, and fixer behaviors, generating per-spec reports to track changes between releases.