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; )
- A simple test ()
- A test list ()
- Using 'setup' ()
- Using 'foreach' ()
- Nested 'setup' and 'foreach' ()
- Passing the result from 'setup' ()
- Passing the result from 'foreach' ()
- Cleaning up server processes ()
- Using 'with' ()