curate-tests

Solid

Phase 2: Generate and discover tests, validate against real library. Only invoke when explicitly requested by the user or by the yoink orchestrator.

Testing & QA 31 stars 0 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
50
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Curate Tests > **Do not invoke this skill unless explicitly requested.** It is called by `/yoink:yoink` or run standalone by the user. **Prerequisite:** `/yoink:setup` must have been run first (reference dir and real library must exist). Parse your prompt to identify: - **Package name**: from the `Package:` line or `--package` argument - **Target function/feature**: from the `Task:` line or prompt body > **Naming convention**: `yoink_<package>/` where `<package>` has hyphens replaced > by underscores (e.g., package `litellm` -> `yoink_litellm/`). --- ### 1. Discover relevant tests - If **`--skip-test-discoverer` is present** then **skip to step 2**. Use the **yoink:test-discoverer** agent to search for relevant tests from the original library's test suite. Pass input as JSON: ```json { "package_name": "<PACKAGE>", "target_function": "<TARGET_FUNCTION>" } ``` > **Discovered tests are reference material only.** They exist so the test-generator > can study real-world patterns and assertions. They are **never executed** during > validation or any later step -- only generated tests are run. ### 2. Generate focused tests Use the **yoink:test-generator** agent to write original pytest tests for the target function. Pass input as JSON: ```json { "package_name": "<PACKAGE>", "target_function": "<TARGET_FUNCTION>" } ``` ### 3. Validate generated tests against the real library Run **only the generated tests** using the script below against the installed real l...

Details

Author
theogbrand
Repository
theogbrand/yoink
Created
1 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Related Skills