GitHub Copilot Train-the-Trainer
Shared fixtures hold accepted behavior
Write cases as data, so both implementations run the same file.
{"name":"round-half-up",
"request":{"customerTier":"SILVER", "couponCode":"SAVE10", "...":"..."},
"expected":{"totalCents":888}}
Each case should name the risk it guards. Collect cases while you discover behavior, not after you migrate.
In the lab: five cases in one JSONL file read by the Java and .NET tests.