Files
cleveragents-core/features/cloud_handler_coverage_r3.feature
freemo 31472b5413
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 21s
CI / helm (pull_request) Successful in 22s
CI / lint (pull_request) Successful in 3m20s
CI / quality (pull_request) Successful in 3m43s
CI / typecheck (pull_request) Successful in 3m58s
CI / security (pull_request) Successful in 4m8s
CI / integration_tests (pull_request) Successful in 9m33s
CI / unit_tests (pull_request) Successful in 10m12s
CI / docker (pull_request) Successful in 1m28s
CI / coverage (pull_request) Successful in 12m18s
CI / e2e_tests (pull_request) Successful in 19m51s
CI / status-check (pull_request) Successful in 1s
CI / build (push) Successful in 15s
CI / helm (push) Successful in 22s
CI / lint (push) Successful in 3m18s
CI / quality (push) Successful in 3m41s
CI / typecheck (push) Successful in 3m57s
CI / benchmark-regression (push) Has been skipped
CI / security (push) Successful in 4m10s
CI / unit_tests (push) Failing after 6m58s
CI / docker (push) Has been skipped
CI / integration_tests (push) Successful in 9m15s
CI / coverage (push) Successful in 12m26s
CI / e2e_tests (push) Successful in 23m11s
CI / status-check (push) Failing after 1s
CI / benchmark-publish (push) Successful in 28m31s
CI / benchmark-regression (pull_request) Successful in 54m53s
test(coverage): add Behave scenarios for 39 under-covered modules
Add Behave feature/step pairs that exercise uncovered branches across handlers, LSP, CLI, and service layers to reach the coverage gate.

ISSUES CLOSED: #1232
2026-03-31 21:47:12 +00:00

56 lines
2.4 KiB
Gherkin

Feature: Cloud handler CRUD and lifecycle stub coverage (round 3)
Exercise the NotImplementedError stubs on CloudResourceHandler that are
required by the ResourceHandler protocol but not yet implemented for
cloud infrastructure resources.
Covers lines: 480, 484, 488, 492, 496, 500, 512, 523, 534, 545
in src/cleveragents/resource/handlers/cloud.py.
Background:
Given clcov3 a CloudResourceHandler instance exists
And clcov3 a dummy cloud resource exists
# -- CRUD stubs (lines 480-500) ------------------------------------------
Scenario: read() raises NotImplementedError
When clcov3 I call read on the handler
Then clcov3 a NotImplementedError is stored with message "read()"
Scenario: write() raises NotImplementedError
When clcov3 I call write on the handler
Then clcov3 a NotImplementedError is stored with message "write()"
Scenario: delete() raises NotImplementedError
When clcov3 I call delete on the handler
Then clcov3 a NotImplementedError is stored with message "delete()"
Scenario: list_children() raises NotImplementedError
When clcov3 I call list_children on the handler
Then clcov3 a NotImplementedError is stored with message "list_children()"
Scenario: diff() raises NotImplementedError
When clcov3 I call diff on the handler
Then clcov3 a NotImplementedError is stored with message "diff()"
Scenario: discover_children() raises NotImplementedError
When clcov3 I call discover_children on the handler
Then clcov3 a NotImplementedError is stored with message "discover_children()"
# -- Lifecycle stubs (lines 512-545) -------------------------------------
Scenario: create_sandbox() raises NotImplementedError
When clcov3 I call create_sandbox on the handler
Then clcov3 a NotImplementedError is stored with message "create_sandbox()"
Scenario: create_checkpoint() raises NotImplementedError
When clcov3 I call create_checkpoint on the handler
Then clcov3 a NotImplementedError is stored with message "create_checkpoint()"
Scenario: rollback_to() raises NotImplementedError
When clcov3 I call rollback_to on the handler
Then clcov3 a NotImplementedError is stored with message "rollback_to()"
Scenario: project_access() raises NotImplementedError
When clcov3 I call project_access on the handler
Then clcov3 a NotImplementedError is stored with message "project_access()"