Files
temp/robot/coverage_threshold.robot
T
HAL9000 6ff81f6258 docs: add InvariantReconciliationActor API docs, devcontainer discovery module guide, and mkdocs nav
- docs/api/actor.md: Add InvariantReconciliationActor section documenting
  the built-in reconciliation actor introduced in v3.8.0, including the
  reconciliation algorithm, ReconciliationResult/ConflictRecord/ScopeInvariants
  data classes, standalone reconcile_invariants() function, DI registration,
  and failure behaviour.

- docs/modules/devcontainer-discovery.md: New module guide for the
  devcontainer auto-discovery system (v3.8.0 fix #2615), covering
  DevcontainerDiscoveryResult, discover_devcontainers(), is_trigger_type(),
  monorepo named-config support, and gotchas.

- mkdocs.yml: Add 'Module Guides' nav section exposing shell-safety,
  uko-provenance, and devcontainer-discovery module docs.
2026-04-09 07:06:03 +00:00

49 lines
2.1 KiB
Plaintext

*** Settings ***
Documentation Coverage threshold enforcement tests
... Validates that coverage configuration and nox session are
... properly set up to enforce the 97% 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 = 97 is defined in noxfile.py
[Tags] coverage config tdd_issue tdd_issue_4305
${content}= Get File ${WORKSPACE}/noxfile.py
Should Contain ${content} COVERAGE_THRESHOLD = 97
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 97 In Noxfile
[Documentation] Verify noxfile enforces 97% threshold via fail-under
[Tags] tdd_issue tdd_issue_4227 tdd_expected_fail
[Tags] coverage config
${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%