Files
cleveragents-core/features/coverage_maximum.feature
HAL9000 f808abff86 chore(ci): fix pre-commit hook failures
Fix JSON syntax errors in .devcontainer/devcontainer.json (removed
invalid JS-style // comments) and .devcontainer/opencode.json (removed
90+ trailing commas). Apply auto-fixes for end-of-file and trailing
whitespace issues across 100+ files. Fix SIM105 ruff violations in
benchmarks/core_circuit_breaker_bench.py (use contextlib.suppress).

Note: The security fix from issue #7478 (validate_path startswith bypass)
was already delivered to master in commit e18ac5f2. This PR as currently
structured is non-atomic (35 commits across 10+ issues) and needs
significant restructure before merge. This commit only addresses the
CI/pre-commit failures.

ISSUES CLOSED: #7478
2026-06-14 09:51:14 -04:00

33 lines
1.1 KiB
Gherkin

Feature: Maximum Code Coverage
As a developer
I want to achieve maximum test coverage
So that all code paths are tested
Scenario: Test CleverAgentsError with details
When I test CleverAgentsError with details
Then it should handle the error with details
Scenario: Test main with program name in args
When I call main with args that trigger line 166
Then it should strip the program name
Scenario: Test platform import handling
When I test platform import error recovery
Then platform should handle import errors gracefully
Scenario: Test __main__ module execution
When I run the module directly as __main__
Then the __main__ module should execute correctly
Scenario: Test all empty module imports
When I test all empty module __init__ files
Then all modules should import successfully
Scenario: Test RateLimitError exception
When I test RateLimitError exception
Then RateLimitError should work correctly
Scenario: Test __main__ if clause
When I test the __main__ module if clause
Then the if __name__ clause should execute