Standalone Test Repro

Generate a standalone console application under artifacts/tmp from a managed test under src/tests so it can be run directly with corerun. USE FOR: "create a standalone repro for this runtime test", converting a CoreCLR test wrapper path such as JIT/.../TestName.cmd into a console app, or extracting a fully qualified xUnit test method from a merged test assembly, including when a CI scenario such as jitstress1 is specified. DO NOT USE FOR: adding a regression test to src/tests, library tests under src/libraries, NativeAOT-only tests, or tests whose behavior fundamentally requires a native, browser, mobile, multi-process, or external-service harness.

.NET (Microsoft) Updated 22.1k repo stars

File contents

dotnet/runtime commit ac22d36323 Runs: dotnet/build-and-test

Frequently asked questions

npx get-skill add dotnet/standalone-test-repro