EUnit examples, to go with the blog post at https://blog.differentpla.net/blog/2023/03/28/eunit-examples/.
Install Rebar3 and then rebar3 eunit
.
explicit_test
-- demonstrates whateunit.hrl
does for you, by not using it.name_suffix_test
-- the use of..._test()
and..._test_()
naming.list_generator_test
-- using a test generator that returns a list.simple_setup_test
-- demonstrate the 'setup' generator.