Make tests fail when the behaviour they name breaks closes #609 #614
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
local-it/mitgliederverwaltung!614
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/mitgliederverwaltung-609"
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?
closes #609
Description of the implemented changes
The changes were:
Make tests fail when the behaviour they name breaks: many tests matched flashes, errors and page content with substring or whole-page checks that kept passing when the named behaviour broke. This PR adds exact-match test assertions (flash and field errors, page titles, single elements, list items, forbidden/not-found/invalid Ash errors, access-denied redirects, query counts), makes them the rule in CODE_GUIDELINES §4, hardens the tests across the domain and web layers, and drops tests whose input and checks a stricter sibling already covers (2640 → 2499 tests). Hardening surfaced two real bugs, fixed here with their regression tests.
What has been changed?
Definition of Done
Code Quality
Accessibility
Testing
Additional Notes
mix hex.auditfails on main without it; Mila's twobulk_destroycalls use no limit, so the retirement reason (limited bulk deletes on small tables) most likely did not affect it.<>), outside the otherwise test-only scope.mix ash.codegen --checkreports pending snapshot changes (ash_functions extension version, stale property snapshots).