| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add focused unit tests for the argument handling of `adk conformance test` (issue google#6730): multiple PATHS are all forwarded, --mode live is propagated, --streaming-mode bidi maps to the StreamingMode enum, and invalid --mode / --streaming-mode values are rejected by Click before any dispatch. The runner is mocked so the tests stay fast and deterministic, matching the existing conformance CLI tests in this module.
| Back | FazBrowse Home | New Git URL |
What
Adds focused unit tests for the adk conformance test CLI command (requested in #6730). The command dispatches to run_conformance_test; the existing tests in this module already cover the no-path default, single-directory, --mode replay, --generate_report, --report_dir, and --streaming-mode sse cases. This change closes the remaining gaps:
The conformance runner is mocked (same pattern as the surrounding tests) so the suite stays fast and deterministic with no real LLM execution.
Why
These CLI behaviors had no automated coverage, leaving regressions in argument handling unguarded.
Testing
(5 new tests on top of the pre-existing conformance tests.) pyink --check and ruff check are clean on the changed file.