How do you know if your Erlang program works? You test it! Erlang comes with a unit-testing framework called "eunit" that is easy to slip into your project. We'll talk briefly about what eunit gives you and work through a bunch of examples together, including how to use assertions, how to structure test suites, and how to deal common pitfalls and gotchas.
Presented at Chicago Erlang: http://www.meetup.com/ErlangChicago/events/172139782/