You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kevin Burton <bu...@spinn3r.com> on 2015/03/08 20:22:00 UTC
Disabling surefire error printing to console?
Is there away to get surefire to ONLY show the tests which failed, and NONE
of their output?
I read through the configuration and all the options that would seem to do
this are already enabled (defaults) … and I can’t find anything that would
disabled it.
I tried redirectTestOutputToFile and that doesn’t seem to solve the
situation.
--
Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
RE: Disabling surefire error printing to console?
Posted by Martin Gainty <mg...@hotmail.com>.
Burt/Bat
let grep find it with regular expression for 1-9?
/target/surefire-reports> grep "Failure: [1-9]" *.*
Martin
______________________________________________
> From: burton@spinn3r.com
> Date: Mon, 9 Mar 2015 00:01:28 -0700
> Subject: Re: Disabling surefire error printing to console?
> To: users@maven.apache.org
>
> It still prints the full exception to the console.
>
> All I want is a list of the tests which failed.
>
> On Sun, Mar 8, 2015 at 11:08 PM, Baptiste Mathus <bm...@batmat.net> wrote:
>
> > What do you mean "doesn't seem to solve the situation"? Doesn't it work?
> >
> > 2015-03-08 20:22 GMT+01:00 Kevin Burton <bu...@spinn3r.com>:
> >
> > > Is there away to get surefire to ONLY show the tests which failed, and
> > NONE
> > > of their output?
> > >
> > > I read through the configuration and all the options that would seem to
> > do
> > > this are already enabled (defaults) … and I can’t find anything that
> > would
> > > disabled it.
> > >
> > > I tried redirectTestOutputToFile and that doesn’t seem to solve the
> > > situation.
> > >
> > > --
> > >
> > > Founder/CEO Spinn3r.com
> > > Location: *San Francisco, CA*
> > > blog: http://burtonator.wordpress.com
> > > … or check out my Google+ profile
> > > <https://plus.google.com/102718274791889610666/posts>
> > > <http://spinn3r.com>
> > >
> >
> >
> >
> > --
> > Baptiste <Batmat> MATHUS - http://batmat.net
> > Sauvez un arbre,
> > Mangez un castor !
> >
>
>
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
Re: Disabling surefire error printing to console?
Posted by Kevin Burton <bu...@spinn3r.com>.
It still prints the full exception to the console.
All I want is a list of the tests which failed.
On Sun, Mar 8, 2015 at 11:08 PM, Baptiste Mathus <bm...@batmat.net> wrote:
> What do you mean "doesn't seem to solve the situation"? Doesn't it work?
>
> 2015-03-08 20:22 GMT+01:00 Kevin Burton <bu...@spinn3r.com>:
>
> > Is there away to get surefire to ONLY show the tests which failed, and
> NONE
> > of their output?
> >
> > I read through the configuration and all the options that would seem to
> do
> > this are already enabled (defaults) … and I can’t find anything that
> would
> > disabled it.
> >
> > I tried redirectTestOutputToFile and that doesn’t seem to solve the
> > situation.
> >
> > --
> >
> > Founder/CEO Spinn3r.com
> > Location: *San Francisco, CA*
> > blog: http://burtonator.wordpress.com
> > … or check out my Google+ profile
> > <https://plus.google.com/102718274791889610666/posts>
> > <http://spinn3r.com>
> >
>
>
>
> --
> Baptiste <Batmat> MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>
--
Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
<https://plus.google.com/102718274791889610666/posts>
<http://spinn3r.com>
Re: Disabling surefire error printing to console?
Posted by Baptiste Mathus <bm...@batmat.net>.
What do you mean "doesn't seem to solve the situation"? Doesn't it work?
2015-03-08 20:22 GMT+01:00 Kevin Burton <bu...@spinn3r.com>:
> Is there away to get surefire to ONLY show the tests which failed, and NONE
> of their output?
>
> I read through the configuration and all the options that would seem to do
> this are already enabled (defaults) … and I can’t find anything that would
> disabled it.
>
> I tried redirectTestOutputToFile and that doesn’t seem to solve the
> situation.
>
> --
>
> Founder/CEO Spinn3r.com
> Location: *San Francisco, CA*
> blog: http://burtonator.wordpress.com
> … or check out my Google+ profile
> <https://plus.google.com/102718274791889610666/posts>
> <http://spinn3r.com>
>
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !