refactor: group the e2e tests by capability #6
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
zoo/eve!6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/e2e-test-groups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Group the
eve_e2eintegration tests by capability, one auto-discovered test crate per group, while leavingtests/entity/andtests/system/unchanged.Layout
tests/<group>/main.rs, so a new test is a file plus amodline; no[[test]]entry is needed.registry.rsstays top-level: it tests the composition root, not an adapter, and it uses the networkE2eApp.tests/app/inproc.rs.Docs
adr/test.md: describes the capability grouping, the new file paths and the group/module filter commands.adr/sqlite.mdandadr/inproc_broker.md: paths updated.README.md: the service-free test command now uses the group targets.Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test -p eve_e2e --test broker --test db --test tsdb --test storage --test app— 14 + 11 + 13 + 22 + 2 tests passed; network halves skipped without their*_URL.cargo test -p eve_e2e --test gateway --no-runcargo test -p eve_e2e --test registry --no-runcargo test -p eve_e2e --test entity --test system --no-runThe Forgejo instance is
git.kosyrev.name, repositoryzoo/eve.