Erlang in Practice Episode 5: Unit Testing with EUnit

Posted in Testing, Development on July 17, 2008


Erlang in Practice Episode 5: Unit Testing with EUnit

Testing is the cornerstone of writing software that works. In this episode, we’ll take a break from the chat system and focus on how to do test-driven development in Erlang using the EUnit testing framework. You’ll learn how to:

  • get started with EUnit
  • write test specifications with EUnit macros
  • use EUnit test generators to add flexibility to unit tests
  • set up and tear down test environments, such as server processes
  • run multiple tests in batch with a test suite
  • write code in a test-first style

Watch Video

Tags: Testing, Erlang, Unit Testing, Languages, The Pragmatic Programmers, EUnit, Erlang in Practice