You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Scott Goldstein <sd...@MailAndNews.com> on 2001/12/26 20:48:09 UTC
Junit Formatter that Sends an e-mail on error
Has anyone written a Junit formatter that sends an e-mail if a test fails?
Scott
------------------------------------------------------------
"Just a mirror for the sun...
My smiling eyes are just a mirror for the sun."
------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Junit Formatter that Sends an e-mail on error
Posted by Erik Hatcher <ja...@ehatchersolutions.com>.
Not that I know of, but you could easily send an e-mail conditionally after
<junit> is run using the errorProperty and failureProperty and a "dummy"
target with an 'if' on it enclosing either <mail> or <mimemail>.
Or use the mail listener (or MailLogger if you are running off Ant 1.5
nightly code) - see the FAQ for this.
Erik
----- Original Message -----
From: "Scott Goldstein" <sd...@MailAndNews.com>
To: <an...@jakarta.apache.org>
Sent: Wednesday, December 26, 2001 2:48 PM
Subject: Junit Formatter that Sends an e-mail on error
> Has anyone written a Junit formatter that sends an e-mail if a test fails?
>
> Scott
>
> ------------------------------------------------------------
> "Just a mirror for the sun...
> My smiling eyes are just a mirror for the sun."
> ------------------------------------------------------------
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>