Testing with Elixir/Erlang
summary
Demonstrates testing in Elixir/Erlang using ExUnit (run with mix test) including assertions, setup/setup_all/on_exit hooks, tags for timeouts and fixtures, and parallelized test runs. Shows converting doctests to tests, using excover to report per-file coverage and uncovered lines, a macro-based data-driven pattern to generate many tests from tables, and property testing that generates many examples and uses automatic shrinking to find minimal counterexamples.
AI-written summary · about








