feat: engine-state normalizer profile + sort_array_elements rule (#10)
- Rules.SortArrayElements: sort JSON arrays lexicographically (post-mask_guids order-independence) - Normalizer output: UnsafeRelaxedJsonEscaping to preserve <GUID>/<TS>/<VOLATILE> tokens - profiles/engine-state.yaml: normalize_paths + mask_guids + sort_array_elements + round_floats(2dp) + sort_json_keys - RunnerOptions.SidecarProfile: default "engine-state", overridable via --sidecar-profile - TestRunner.CaptureAndDiffSidecar: uses SidecarProfile instead of main Profile - 4 new normalizer tests (136 total) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,11 +18,13 @@ public static class Program
|
||||
case "--no-launch": options.NoLaunch = true; break;
|
||||
case "--sidecar-url": sidecarUrl = args[++i]; break;
|
||||
case "--no-sidecar": noSidecar = true; break;
|
||||
case "--sidecar-profile": options.SidecarProfile = args[++i]; break;
|
||||
case "-h":
|
||||
case "--help":
|
||||
Console.WriteLine("Usage: Recordingtest.Runner --scenarios <dir> --baselines <dir> --out <dir>");
|
||||
Console.WriteLine(" [--profile <name>] [--no-launch]");
|
||||
Console.WriteLine(" [--sidecar-url http://localhost:38080] [--no-sidecar]");
|
||||
Console.WriteLine(" [--sidecar-profile engine-state]");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user