Files
cleveragents-core/robot/coverage_threshold.robot
T
CoreRasurae cecca72b8e
CI / benchmark-publish (push) Has started running
CI / benchmark-regression (push) Has been skipped
CI / e2e_tests (push) Failing after 14s
CI / helm (push) Failing after 8s
CI / unit_tests (push) Failing after 21s
CI / typecheck (push) Failing after 32s
CI / build (push) Failing after 9s
CI / quality (push) Failing after 24s
CI / integration_tests (push) Failing after 15s
CI / security (push) Failing after 24s
CI / lint (push) Failing after 34s
CI / coverage (push) Has been skipped
CI / docker (push) Has been skipped
CI / push-validation (push) Successful in 20s
CI / status-check (push) Failing after 6s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Failing after 1m11s
CI / coverage (pull_request) Successful in 14m34s
CI / push-validation (pull_request) Successful in 36s
CI / typecheck (pull_request) Successful in 1m14s
CI / integration_tests (pull_request) Successful in 3m42s
CI / e2e_tests (pull_request) Successful in 4m26s
CI / unit_tests (pull_request) Successful in 6m29s
CI / build (pull_request) Successful in 59s
CI / lint (pull_request) Successful in 53s
CI / quality (pull_request) Successful in 56s
CI / security (pull_request) Successful in 1m19s
CI / helm (pull_request) Successful in 53s
CI / docker (pull_request) Successful in 1m46s
CI / status-check (pull_request) Successful in 3s
test(behave): Reduce the coverage level to 96.5%
2026-05-05 02:01:49 +00:00

48 lines
2.0 KiB
Plaintext

*** Settings ***
Documentation Coverage threshold enforcement tests
... Validates that coverage configuration and nox session are
... properly set up to enforce the 96.5% coverage requirement.
Resource ${CURDIR}/common.resource
Suite Setup Setup Test Environment
Suite Teardown Cleanup Test Environment
*** Test Cases ***
Noxfile Contains Coverage Threshold Constant
[Documentation] Verify COVERAGE_THRESHOLD = 96.5 is defined in noxfile.py
[Tags] coverage config
${content}= Get File ${WORKSPACE}/noxfile.py
Should Contain ${content} COVERAGE_THRESHOLD = 96.5
Pyproject Contains Coverage Run Section
[Documentation] Verify [tool.coverage.run] section exists in pyproject.toml
[Tags] coverage config
${content}= Get File ${WORKSPACE}/pyproject.toml
Should Contain ${content} [tool.coverage.run]
Pyproject Has Branch Coverage Enabled
[Documentation] Verify branch = true is in coverage.run config
[Tags] coverage config
${content}= Get File ${WORKSPACE}/pyproject.toml
Should Contain ${content} branch = true
Pyproject Coverage Source Includes Src
[Documentation] Verify src is in the coverage source list
[Tags] coverage config
${content}= Get File ${WORKSPACE}/pyproject.toml
Should Contain ${content} source = ["src"
Coverage Threshold Is 96.5 In Noxfile
[Documentation] Verify noxfile enforces 96.5% threshold via fail-under
[Tags] coverage config tdd_issue tdd_issue_4227
${content}= Get File ${WORKSPACE}/noxfile.py
Should Contain ${content} --fail-under=
Testing Guide Documentation Exists
[Documentation] Verify docs/development/testing.md was created
[Tags] coverage docs
${testing_doc}= Set Variable ${WORKSPACE}/docs/development/testing.md
File Should Exist ${testing_doc}
${content}= Get File ${testing_doc}
Should Contain ${content} 97%