Update testing docs for async helper

This commit is contained in:
Claudio Ortolina
2026-05-16 22:35:06 +01:00
parent 90ac4fa23a
commit 1a5313cff0
2 changed files with 30 additions and 16 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ Key rules: `json_extract()` must match expression index text exactly, subquery m
→ See `.agents/skills/testing/SKILL.md` for full conventions, fixture modules, and SQLite/Swoosh/Worker test patterns.
Key rules: feature setup stays in test modules that need it, fixture modules use `System.unique_integer([:positive])`, assert specific values not just shapes, error assertions match specific error types, worker tests must `assert_enqueued`, no boilerplate-only tests.
Key rules: feature setup stays in test modules that need it, fixture modules use `System.unique_integer([:positive])`, LiveView async page tests use `render_async()` from `LiveTestHelpers` rather than `unwrap(&render_async/1)`, assert specific values not just shapes, error assertions match specific error types, worker tests must `assert_enqueued`, no boilerplate-only tests.
## Tech Debt / Hygiene