Skip to content

docs(architecture): add testability rules and test file mapping#1457

Merged
IceyLiu merged 2 commits intomainfrom
docs/architecture-testability
Mar 19, 2026
Merged

docs(architecture): add testability rules and test file mapping#1457
IceyLiu merged 2 commits intomainfrom
docs/architecture-testability

Conversation

@kaizhou-lab
Copy link
Copy Markdown
Collaborator

Summary

  • Add Test File Mapping section: define source-to-test file correspondence rules
  • Add Service Testability Rules: pure logic vs IO separation, dependency injection conventions
  • Add Quick Checklist items: coverage.include linkage, pure logic separation check

Bridges the gap between architecture skill (file structure) and testing skill (how to write tests), ensuring new code is testable by design.

Closes #1456

zk added 2 commits March 19, 2026 16:53
- Add Test File Mapping section: define source-to-test file correspondence
- Add Service Testability Rules: pure logic vs IO separation, dependency injection
- Add checklist items: coverage.include linkage, pure logic separation check
@IceyLiu IceyLiu merged commit 5a7e7d4 into main Mar 19, 2026
4 checks passed
@piorpua piorpua deleted the docs/architecture-testability branch March 19, 2026 09:11
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.

docs: add testability rules to architecture skill

3 participants