Skip to content

test: retarget docs tests to the new consolidated docs structure#524

Merged
kasperjunge merged 1 commit into
mainfrom
fix/stale-docs-tests
Jun 8, 2026
Merged

test: retarget docs tests to the new consolidated docs structure#524
kasperjunge merged 1 commit into
mainfrom
fix/stale-docs-tests

Conversation

@kasperjunge

Copy link
Copy Markdown
Collaborator

Summary

The docs were recently restructured from a multi-page layout into index.md / managing.md / reference.md. Six tests in tests/test_docs.py still asserted against pages and files that no longer exist, failing CI without flagging any real problem.

Changes

  • Removed obsolete tests guarding deleted pages/files: creating.md existence + skill example, llms.txt existence, agrx.md CLI table, and tools.md detection-signals table.
  • Retargeted the still-valuable "all supported tools are documented" invariant from configuration.md to the new managing.md Multi-tool section (lists all six tools: claude, cursor, codex, opencode, copilot, antigravity).
  • Renamed test_creating_existstest_managing_exists.

Remaining docs tests (link resolution, code-block validity, CLI command coverage, reference completeness) are untouched and still pass.

Test plan

  • uv run pytest tests/test_docs.py → 26 passed

🤖 Generated with Claude Code

The docs were restructured from a multi-page layout into index/managing/
reference. Six tests still asserted against removed pages (creating.md,
agrx.md, tools.md) and a no-longer-generated llms.txt, failing the pipeline
without flagging any real problem.

Delete the obsolete existence/structure tests and retarget the still-valuable
"all supported tools are documented" invariant from configuration.md to the
new managing.md Multi-tool section.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kasperjunge kasperjunge merged commit 4f53102 into main Jun 8, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant