[erlang-questions] EUnit 2.0 alpha (compile issue)

Yanni Caouette ycaouette@REDACTED
Sat Oct 7 06:04:52 CEST 2006


I can't seem to find the dedicated forum for EUnit. My apology if I am
posting at the wrong place.

I grabbed eunit from svn
(http://svn.process-one.net/contribs/trunk/eunit). My module with unit
tests:

% File: test.erl
-module(test).
-compile(export_all).
-include_lib("eunit/include/eunit.hrl").
my_1st_test() -> ok.

I tried to compile in console and got the following error.

> c(test).
./test.erl:none: error in parse transform 'eunit_autoexport': {undef,
  [{eunit_autoexport,
  parse_transform,
  [[{attribute,
  1,
  file,
  {"./test.erl",1}},
  ......

I understand eunit 2.0 is still alpha, but I'd really appreciate if I
could use some help to get me going. Thanks,

Yanni



More information about the erlang-questions mailing list