f808abff86
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
60 lines
1.9 KiB
Gherkin
60 lines
1.9 KiB
Gherkin
Feature: CLI Commands Full Coverage
|
|
As a developer
|
|
I want to test all CLI command paths
|
|
So that I achieve comprehensive coverage
|
|
|
|
Scenario: Context add command with file
|
|
Given I have a temporary test directory
|
|
And I have a CLI test file "test.py" with content "print('test')"
|
|
When I run context add with file "test.py"
|
|
Then the context add should execute
|
|
|
|
Scenario: Context add command with directory
|
|
Given I have a temporary test directory
|
|
And I have multiple test files in a directory
|
|
When I run context add with directory path
|
|
Then the context add should execute
|
|
|
|
Scenario: Context remove command
|
|
Given I have a temporary test directory
|
|
And I have added files to context
|
|
When I run context remove with a file
|
|
Then the context remove should execute
|
|
|
|
Scenario: Context clear command
|
|
Given I have a temporary test directory
|
|
And I have added files to context
|
|
When I run context clear
|
|
Then the context clear should execute
|
|
|
|
Scenario: Context list command
|
|
Given I have a temporary test directory
|
|
And I have added files to context
|
|
When I run context list
|
|
Then the context list should execute
|
|
|
|
Scenario: Project init command
|
|
Given I have a temporary test directory
|
|
When I run project init
|
|
Then the project init should execute
|
|
|
|
Scenario: Project init with force
|
|
Given I have a temporary test directory
|
|
And I have an existing project
|
|
When I run project init with force flag
|
|
Then the project init should execute with force
|
|
|
|
Scenario: Project status command
|
|
Given I have a temporary test directory
|
|
And I have an initialized project with basic config
|
|
When I run project status
|
|
Then the project status should execute
|
|
|
|
Scenario: Context command group help
|
|
When I run context command with help
|
|
Then the context help should display
|
|
|
|
Scenario: Project command group help
|
|
When I run project command with help
|
|
Then the project help should display
|