Skip to content

cmd/mfp-test: Phase 4 - test matrix and batch/quick/single modes - #101

Open
ArmxG wants to merge 3 commits into
OpenPrinting:masterfrom
ArmxG:master
Open

cmd/mfp-test: Phase 4 - test matrix and batch/quick/single modes#101
ArmxG wants to merge 3 commits into
OpenPrinting:masterfrom
ArmxG:master

Conversation

@ArmxG

@ArmxG ArmxG commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

This PR implements Phase 4 of the print system testing pipeline.

Changes:
1.Add QueryPrinterCaps to query IPP printer attributes (sides, color modes, formats)
2. Add BatchMatrix, QuickMatrix, SingleConfig for test matrix generation
3 Add --quick flag (reduced matrix: all sides × all color modes, first format)
4 Add RunTest runner with TestResult struct
5 Add Reset() to DocumentCapture for reuse across multiple test runs
6 Wire --list, --batch, --quick, --single modes in command.go

Note: RunTest score is a placeholder until Phase 5 adds raster conversion.

ArmxG added 3 commits August 27, 2026 14:37
  Add PrinterCaps, TestConfig structs and QueryPrinterCaps to query
  IPP printer attributes. Add BatchMatrix, QuickMatrix, SingleConfig
  for generating test configurations.
  Add TestResult struct and RunTest function that sends a print job
  with specific IPP attributes and waits for capture. Add Reset() to
  DocumentCapture so it can be reused across multiple test runs.
  Add --quick flag. Wire all four modes to the test matrix: --list
  prints configs and exits, --batch runs all combinations, --quick
  runs reduced matrix, --single runs one specific configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant