v1.3.2 - Testing Essentials Refinements
Changes
Changed
testing-essentials— 4 targeted refinements:- Setup Chaining section — guidance on composing named setup functions with
setup [:func1, :func2]for reusable test context - Timestamp Testing section — guidance on relative timestamps instead of hardcoded dates that cause flaky tests
- Refined
async: truerule — replaced one-liner with safe/unsafe categorization (safe: pure functions, changesets, helpers; unsafe: DB contexts, LiveView,Application.put_env) - Improved Context Test Skeleton — result bound to variable for further assertions, error case pattern matches changeset and checks
errors_on/1
- Setup Chaining section — guidance on composing named setup functions with
Full Changelog: v1.3.1...v1.3.2