Skill Store 33

Create Tests Extract

Move a bulky inline test block out of its source file WITHOUT weakening it — same coverage, same…

by ulpi-io

The skill

Move a bulky inline test block out of its source file WITHOUT weakening it — same coverage, same private access: read the source and its inline tests, pick the smallest safe extraction boundary (an adjacent `#[cfg(test)] mod`, not a top-level `tests/`, when private access matters), move tests and their helpers with names and attributes intact plus the minimal module wiring, then run the narrowest relevant tests. Preserves the original visibility model and touches production code only as far as wiring requires — never silently downgrades private unit tests into weaker public-API integration tests. Use when the user asks to split large inline tests out of a source file.

This skill's licence does not allow redistribution, so the store does not show its text. Read it at the source.

Use this skill

Connect your agent to the Skill Store MCP server and ask for it by ref: ulpi-io/create-tests-extract-97318771005.

Markdown version

Details

Publisher
ulpi-io
Category
Software Development › Testing & QA
Updated
2026-08-31

References

More from ulpi-io