What problem does it solve?
Debugging a failing .NET runtime test normally requires the full test harness, merged xUnit assemblies, and CI infrastructure. This Skill extracts a single managed test from src/tests into an isolated console application under artifacts/tmp that runs directly with corerun, making failures reproducible and editable outside the test framework.
Core Features & Use Cases
- Test Extraction: Resolves a test from a wrapper path (JIT/.../TestName.cmd) or a fully qualified xUnit method name, then copies the relevant source and helper types into a standalone project.
- Environment Fidelity: Captures CLRTestEnvironmentVariable values, RuntimeHostConfigurationOption settings, pre/post commands, and CI scenarios (e.g., jitstress1) into a .env file consumed by corerun.
- Validation Workflow: Builds with the repository's bootstrapped SDK, runs via corerun, and verifies the exit code (normally 100) and behavior against the original test contract.
- Use Case: A CI leg reports a JIT failure under jitstress1 for a specific test method. Use this Skill to generate a local repro directory, build it, and run it with corerun to confirm the crash without the full test harness.
Quick Start
Ask the AI to create a standalone repro for the runtime test at the given wrapper path or fully qualified test method name, optionally specifying the CI scenario such as jitstress1.