feat(coverage): supercharge for agent usability
- Add -j alias for --json - Add exit_code and duration_ms to _CoveragePayload TypedDict - Wire start_timer(); emit exit_code=0, duration_ms=elapsed() in JSON payload - Update run() docstring with JSON envelope section - 36 new TDD tests in test_coverage_supercharge.py
sha256:f5da0ee959ef4a1043a0dfc829652573b44803e5672bc59a7447c03ae48a8929
sha
+56
~3
symbols
sha256:edc0276a696300dbe5fd71147e7f80ee595505a05eabdf1d05833322949af58e
snapshot
+56
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes
59 symbols
+
test_json_output_no_ansi_with_exclude_dunder
method
method test_json_output_no_ansi_with_exclude_dunder L316–320
+
test_run_docstring_mentions_duration_ms
method
method test_run_docstring_mentions_duration_ms L294–297
+
test_run_docstring_mentions_exit_code
method
method test_run_docstring_mentions_exit_code L289–292
+
test_exit_code_zero_with_exclude_dunder
method
method test_exit_code_zero_with_exclude_dunder L232–237
+
test_j_alias_method_count_matches_json_flag
method
method test_j_alias_method_count_matches_json_flag L148–153
+
test_j_alias_same_top_level_keys_as_json_flag
method
method test_j_alias_same_top_level_keys_as_json_flag L137–146
+
test_coverage_payload_typeddict_exists
method
method test_coverage_payload_typeddict_exists L253–254
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:f5da0ee959ef4a1043a0dfc829652573b44803e5672bc59a7447c03ae48a8929 --body "your comment"
No comments yet. Be the first to start the discussion.