[erlang-questions] erlrt and eunit

Yanni Caouette ycaouette@REDACTED
Sun Oct 8 00:07:21 CEST 2006


On 10/7/06, Olivier Sambourg <olivier.sambourg@REDACTED> wrote:
> And if you try :
> -module(mytest).
> -export([]).
> -include_lib("eunit/include/eunit.hrl").

Thanks. It did not help either.

1> c(mytest).
./mytest.erl:10: Warning: function my1_test/0 is unused
./mytest.erl:10: Warning: function my2_test/0 is unused
{ok,mytest}

2> mytest:test().

=ERROR REPORT==== 7-Oct-2006::18:09:30 ===
Error in process <0.30.0> with exit value:
{undef,[{mytest,test,[]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}



More information about the erlang-questions mailing list