docs: fix config table, test-location claims
This commit is contained in:
@@ -56,7 +56,14 @@ crates/application/tests/diary/log_review_test.rs
|
||||
crates/application/tests/support/ # shared contexts and command builders
|
||||
```
|
||||
|
||||
Adapters follow the same layout (`crates/adapters/sqlite/tests/repositories/diary_repository_test.rs`). The only tests left beside source are small mapper tests in `crates/adapters/http-axum/src/**/tests.rs`, which need crate-private items; their shared fixtures live in `http-axum/src/test_support.rs`. Route smoke, API and handler tests run against the real composition and live in `crates/bootstrap/tests/`.
|
||||
Adapters follow the same layout (`crates/adapters/sqlite/tests/repositories/diary_repository_test.rs`). Route smoke, API and handler tests run against the real composition and live in `crates/bootstrap/tests/`; http-axum also has integration tests in `crates/adapters/http-axum/tests/` (`log_review_form_test.rs`, `openapi_contract_test.rs`).
|
||||
|
||||
Inline `#[cfg(test)]` tests remain only where they must reach private items:
|
||||
|
||||
- `crates/adapters/http-axum`: the `api/social`, `federation/blocklist_api` and `html/social` mapper tests (`tests.rs` beside each; shared fixtures in `src/test_support.rs`) and the rate-limit tests in `router.rs`
|
||||
- `crates/application/src/users/diary_filter.rs`
|
||||
- `crates/adapters/nats/src/subject.rs`
|
||||
- `crates/tui/src/client.rs`
|
||||
|
||||
## Naming
|
||||
|
||||
|
||||
Reference in New Issue
Block a user