Build strict NUnit parity harness
Some checks failed
Rust API gates / api-gates (push) Has been cancelled

This commit is contained in:
2026-08-08 16:47:41 +02:00
parent c8a953996e
commit 80fbe87b98
10 changed files with 19784 additions and 17083 deletions

View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python3
"""Audit the checked-in NUnit-to-Rust parity catalog and source markers."""
from __future__ import annotations
import argparse
from pathlib import Path
from generate_surface import check_test_parity
def main() -> None:
parser = argparse.ArgumentParser()
parser.add_argument("--root", type=Path, default=Path("."))
parser.add_argument("--require-reviewed", action="store_true")
args = parser.parse_args()
report = check_test_parity(args.root.resolve(), args.require_reviewed)
print(
"test parity: "
+ ", ".join(f"{name}={count}" for name, count in report.items())
)
if __name__ == "__main__":
main()