Skip to content

docs(testing): add testing strategy guide (#2138) - #2141

Merged
josecelano merged 4 commits into
torrust:developfrom
josecelano:2138-document-testing-strategy
Sep 5, 2026
Merged

josecelano merged 4 commits into
torrust:developfrom
josecelano:2138-document-testing-strategy

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

  • Add docs/testing.md, a concise guide for selecting unit, package integration, root application integration, executable-boundary, E2E, database compatibility, and manual verification layers.
  • Document the unit-first strategy, the E2E-first history, validation ownership, and the boundaries between correctness testing, benchmarking, and profiling.
  • Link the guide from docs/index.md and include the merged test refactoring-pattern catalog as the source for maintainable, readable, expressive test design.
  • Update issue Document the Testing Strategy and Test Layers #2138 with implementation, validation, manual-review, and acceptance-criteria evidence.

Files changed

  • docs/testing.md
  • docs/index.md
  • docs/issues/open/2138-document-testing-strategy/ISSUE.md

Validation

  • Local relative-link target validation passed.
  • linter all passed.
  • Pre-commit hook passed: dictionary formatting, cargo machete, cargo deny check bans, linters, hadolint, and documentation tests.
  • Pre-push hook passed: nightly formatting, workspace check, documentation build, and full test suite.
  • Independent task review passed after replacing a moving issue-specification link with stable issue-workflow documentation.

Closes #2138

Copilot AI lite review requested due to automatic review settings September 4, 2026 16:57
@josecelano josecelano self-assigned this Sep 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes are documentation-focused and consistent with existing workflow sources; the only feedback is a small link-target clarity improvement.

Pull request overview

Adds a new documentation entry point describing Torrust Tracker’s testing strategy and how to choose between test layers, then wires it into the docs index and records completion evidence in the issue spec for #2138.

Changes:

  • Add docs/testing.md describing test-layer selection strategy, evidence boundaries, and validation ownership.
  • Link the new guide from docs/index.md for discoverability.
  • Update the #2138 issue specification with completion status, validation evidence, and acceptance-criteria checks.
File summaries
File Description
docs/testing.md New testing-strategy guide covering test layers, ownership of validation gates, and links to representative examples and authoritative sources.
docs/index.md Adds a docs index entry linking to the new testing strategy guide.
docs/issues/open/2138-document-testing-strategy/ISSUE.md Marks tasks/ACs as done and records progress/validation evidence for the documentation work.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/testing.md Resolved
josecelano added a commit to josecelano/torrust-tracker that referenced this pull request Sep 4, 2026
@josecelano
josecelano force-pushed the 2138-document-testing-strategy branch from 4e71999 to e0b1ae9 Compare September 4, 2026 22:03
@josecelano

Copy link
Copy Markdown
Member Author

ACK e0b1ae9

@josecelano
josecelano merged commit 4b10732 into torrust:develop Sep 5, 2026
1 check 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.

Document the Testing Strategy and Test Layers

2 participants