jit-regression-test
OfficialExtract JIT regression tests from GitHub issues.
System Documentation
What problem does it solve?
Extract standalone JIT regression test cases from a GitHub issue and organize them under the JIT regression test folder structure for the .NET runtime, enabling reproducible fixes and validation.
Core Features & Use Cases
- From a GitHub issue, derive the issue number to name the test folder and files (e.g., issue #XXXXX → Runtime_XXXXX) and create the appropriate directory under src/tests/JIT/Regression/JitBlue/.
- Generate a test file Runtime_<issue_number>.cs with the standard .NET Foundation license header, class name matching the file name, and a [Fact] test method that exercises the issue scenario.
- Optionally create a Runtime_<issue_number>.csproj when environment variables or special compilation settings are required for reproduction.
- Enforce conventions: license header, file/class naming, and repository-aligned test structure to ensure consistency across JIT regression tests.
Quick Start
Gather the GitHub issue details (issue number, reproduction code, environment variables, expected behavior), create the Runtime_<issue_number> directory under src/tests/JIT/Regression/JitBlue/, add a file named Runtime_<issue_number>.cs with a matching class and TestEntryPoint, and optionally include a Runtime_<issue_number>.csproj if needed.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: jit-regression-test Download link: https://github.com/dotnet/runtime/archive/main.zip#jit-regression-test Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.