[erlang-questions] eunit setup and cleanup

Richard Carlsson <>
Fri Sep 7 11:29:30 CEST 2007


Filippo Pacini wrote:
> I'm trying to write some tests using eunit.
> 
> I have to do some setup before executing a group of tests (e.g start an
> OTP application, or to prepare data in a mnesia table). Is it possible
> with eunit? Are there examples somewhere I can look at?
> 
> I found in the doc a reference to fixtures, but couldn't figure out how
> they works.

Have you read though this?:
http://svn.process-one.net/contribs/trunk/eunit/doc/overview-summary.html#Fixtures

     /Richard




More information about the erlang-questions mailing list