ca1c341b18
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Successful in 14s
CI / build (pull_request) Successful in 17s
CI / quality (pull_request) Successful in 19s
CI / security (pull_request) Successful in 28s
CI / typecheck (pull_request) Successful in 32s
CI / integration_tests (pull_request) Successful in 2m39s
CI / unit_tests (pull_request) Successful in 5m22s
CI / docker (pull_request) Successful in 38s
CI / benchmark-regression (pull_request) Successful in 17m47s
CI / coverage (pull_request) Successful in 19m6s
CI / lint (push) Successful in 14s
CI / build (push) Successful in 15s
CI / quality (push) Successful in 20s
CI / security (push) Successful in 29s
CI / typecheck (push) Successful in 36s
CI / benchmark-regression (push) Has been skipped
CI / integration_tests (push) Successful in 3m23s
CI / unit_tests (push) Successful in 9m12s
CI / docker (push) Successful in 16s
CI / benchmark-publish (push) Successful in 10m4s
CI / coverage (push) Successful in 19m27s
22 lines
1.2 KiB
Gherkin
22 lines
1.2 KiB
Gherkin
Feature: Validation CLI uncovered branches
|
|
As a developer
|
|
I want to cover the remaining uncovered code paths in validation.py
|
|
So that code coverage is improved for _get_tool_registry_service and detach-not-found
|
|
|
|
Background:
|
|
Given a validation cli branch test runner with mocks
|
|
|
|
# Coverage: _get_tool_registry_service() lines 75-95
|
|
# The entire function body that constructs ToolRegistryService from the DI container
|
|
Scenario: _get_tool_registry_service constructs the service from the container
|
|
Given the validation cli branch DI container provides a database url
|
|
When the validation cli branch _get_tool_registry_service is called
|
|
Then the validation cli branch returned service should be a ToolRegistryService
|
|
|
|
# Coverage: detach command L356->360 branch (confirm=True but removed=False)
|
|
# When user confirms detach but the attachment is not found
|
|
Scenario: Detach validation with confirmation but attachment not found
|
|
Given the validation cli branch detach service returns false
|
|
When the validation cli branch detach is invoked with confirmation for "att-unknown-999"
|
|
Then the validation cli branch detach result should abort with not found
|