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.