List Info

Thread: xUnit implementation for Erlang ?




xUnit implementation for Erlang ?
user name
2007-04-16 08:17:41
Hi all,

I just started coding in Erlang.  I like the language and
the
capabilities.  For fun, I coded an xUnit implementation in
Erlang, and
it works OK.  But I have a few questions:

1. Does anyone know of prior art ?  Is there an existing
implementation of xUnit for Erlang ?
2. When a process errors out, there is a message added to
the console.
 Is there a way to prevent that message from appearing ?

Thanks !
-- 
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.
org/

_______________________________________________
erlang-questions mailing list
erlang-questionserlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Re: xUnit implementation for Erlang ?
user name
2007-04-16 08:35:02
François Beausoleil wrote:
> 1. Does anyone know of prior art ?  Is there an
existing
> implementation of xUnit for Erlang ?

   http:
//svn.process-one.net/contribs/trunk/eunit

     /Richard

_______________________________________________
erlang-questions mailing list
erlang-questionserlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Re: xUnit implementation for Erlang ?
user name
2007-04-16 22:31:15
On 4/16/07, François Beausoleil <francois.beausoleilgmail.com> wrote:
> 2. When a process errors out, there is a message added
to the console.
>  Is there a way to prevent that message from appearing
?

Is good fun to answer questions you don't know the answer to
 you
learn something. I had wondered about that earlier but was
too lazy to
find out for myself.

http://www.erlang.se/doc/doc-5.4.12/
doc/system_principles/error_logging.html

<<The error logger is part of the Kernel application
and it is also
possible to use the Kernel configuration parameter
error_logger to
define if error information should be written to terminal,
file or not
be written at all. See kernel(6)>>

No more Ruby for you ? 

-- G.

_______________________________________________
erlang-questions mailing list
erlang-questionserlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Re: xUnit implementation for Erlang ?
user name
2007-04-17 01:47:10
>> When a process errors out, there is a message added
to the
>> console.  Is there a way to prevent that message
from
>> appearing ?
>
> "The error logger is part of the Kernel
application and it is
> also possible to use the Kernel configuration
parameter
> error_logger to define if error information should be
written
> to terminal, file or not be written at all. See
kernel(6)"

See mailing list archive for a recent discussion of details
and
pitfalls:

http://tinyurl.com/27b9tz
http://tinyurl.com/26f4xh

Regards,

Dominic Williams
http://www.dominicwill
iams.net

----

_______________________________________________
erlang-questions mailing list
erlang-questionserlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions

Re: xUnit implementation for Erlang ?
user name
2007-04-17 11:03:36
Hello Guido,

2007/4/16, Guido Sohne <guidosohne.net>:
> No more Ruby for you ? 

Thanks for the link.  Yes, still plenty more Ruby for me,
just a
general broadening of my horizon.

I dreamt of using Erlang as the backend database for my Ruby
applications tonight.  Wouldn't that be cool 

Bye !
-- 
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.
org/

_______________________________________________
erlang-questions mailing list
erlang-questionserlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )