[erlang-questions] eunit vs. common_test

Andrew Thompson andrew@REDACTED
Fri Jun 12 19:52:43 CEST 2009


On Fri, Jun 12, 2009 at 08:46:15AM -0500, David Mercer wrote:
> It seems that most of us use eunit for unit testing instead of common_test.
> I myself use common_test.  What are the advantages eunit has over
> common_test, and should I switch?  Please advise.  Thank-you.
>

The reason I use eunit is that it was a lot easier to pick up and run
with than common_test was. The common_test documentation was so obtuse I
couldn't even figure out where to begin. So instead I cooked up a
rakefile to run tests and generate coverage reports using eunit and the
coverage module.

Andrew


More information about the erlang-questions mailing list