EUnit examples: Introduction
Some examples of how to use Erlang’s unit-testing framework, EUnit. Starting with simple examples and getting more advanced.
- Introduction (this post; 31 Mar 2023 09:00)
- A simple test (31 Mar 2023 09:10)
- A test list (31 Mar 2023 09:15)
- Using 'setup' (31 Mar 2023 09:20)
- Using 'foreach' (31 Mar 2023 09:30)
- Nested 'setup' and 'foreach' (2 Apr 2023 09:14)
- Passing the result from 'setup' (2 Apr 2023 09:20)
- Passing the result from 'foreach' (2 Apr 2023 12:23)
- Cleaning up server processes (3 Apr 2023 17:33)
- Using 'with' (16 Oct 2025 07:25)