Output test audits to sqlite

This commit is contained in:
Dion Moult
2026-08-18 13:50:14 +10:00
parent 511584b36f
commit 1a6336bd20
3 changed files with 369 additions and 57 deletions
@@ -66,6 +66,12 @@ Alternatively, you can use Python:
report.report()
report.to_file("report.json")
# Or to a SQLite database. Unlike JSON, entities are stored once and
# referenced by ID, so this stays small on large models and can be queried
# instead of parsed. Recommended for anything but small audits. Results are
# written directly to the file, so there is no report() step.
reporter.Sqlite(specs).to_file("report.db")
# Or to ODS spreadsheet
report = reporter.Ods(specs)
report.report()