Structuring unit tests

Dominic Williams erlang-list@REDACTED
Sat Apr 16 23:43:38 CEST 2005


Joel Reymont wrote:

> How do you prefer to structure your tests?

I put the unit tests for module foo in module foo_ut, and 
only test exported functions (the others get tested implicitly).

I use pattern matches as assertions.

Regards,

Dominic Williams
http://www.dominicwilliams.net

----



More information about the erlang-questions mailing list