Files
OpenJarvis/evals/tests/test_cli_flags.py
T
Jon Saad-FalconandClaude Opus 4.6 f6c02c13d8 feat(evals): add --compact and --trace-detail CLI flags
Wire new display flags through the run command to print_full_results.
--compact renders a single dense table; --trace-detail enables full
per-step trace listing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 17:18:11 +00:00

20 lines
519 B
Python

"""Tests for eval CLI display flags."""
from __future__ import annotations
from click.testing import CliRunner
from evals.cli import main
class TestCompactFlag:
def test_compact_flag_accepted(self):
runner = CliRunner()
result = runner.invoke(main, ["run", "--help"])
assert "--compact" in result.output
def test_trace_detail_flag_accepted(self):
runner = CliRunner()
result = runner.invoke(main, ["run", "--help"])
assert "--trace-detail" in result.output