You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Slawomir Jaranowski <s....@gmail.com> on 2022/11/18 08:22:52 UTC

Surefire plain text reports

Hi,

By default Surefire generate plain text reports which is stored in
target/surefire-reports/yourTestName.txt

It can be disabled by using the "useFile" parameter.

Question - Does somebody use such reports?
I'm thinking about removing those at all and saving some CO2 :-)

What do you think?

-- 
Sławomir Jaranowski

Re: Surefire plain text reports

Posted by Elliotte Rusty Harold <el...@ibiblio.org>.
Please don't. I totally use that and expect them to be there without
any extra markup or systems. Plain text, FTW.

On Fri, Nov 18, 2022 at 8:23 AM Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> By default Surefire generate plain text reports which is stored in
> target/surefire-reports/yourTestName.txt
>
> It can be disabled by using the "useFile" parameter.
>
> Question - Does somebody use such reports?
> I'm thinking about removing those at all and saving some CO2 :-)
>
> What do you think?
>
> --
> Sławomir Jaranowski



-- 
Elliotte Rusty Harold
elharo@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Surefire plain text reports

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Le ven. 18 nov. 2022 à 09:39, Slawomir Jaranowski <s....@gmail.com>
a écrit :

> pt., 18 lis 2022 o 09:24 Romain Manni-Bucau <rm...@gmail.com>
> napisał(a):
>
> > +1 to switch it off by default (but keep the feature since it can help
> > investigations on CI)
> >
>
>
> Text reports contain exactly the same information that is displayed during
> build on console, so you should have it in logs from CI.
> Additionally xml reports also have it.
>
> Do you really use it on your CI?
>

Yes the stdxxx output is disabled and text file enabled when a failure is
hard to analyse.


>
>
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> >
> >
> > Le ven. 18 nov. 2022 à 09:23, Slawomir Jaranowski <
> s.jaranowski@gmail.com>
> > a écrit :
> >
> > > Hi,
> > >
> > > By default Surefire generate plain text reports which is stored in
> > > target/surefire-reports/yourTestName.txt
> > >
> > > It can be disabled by using the "useFile" parameter.
> > >
> > > Question - Does somebody use such reports?
> > > I'm thinking about removing those at all and saving some CO2 :-)
> > >
> > > What do you think?
> > >
> > > --
> > > Sławomir Jaranowski
> > >
> >
>
>
> --
> Sławomir Jaranowski
>

Re: Surefire plain text reports

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Le ven. 18 nov. 2022 à 09:39, Slawomir Jaranowski <s....@gmail.com>
a écrit :

> pt., 18 lis 2022 o 09:24 Romain Manni-Bucau <rm...@gmail.com>
> napisał(a):
>
> > +1 to switch it off by default (but keep the feature since it can help
> > investigations on CI)
> >
>
>
> Text reports contain exactly the same information that is displayed during
> build on console, so you should have it in logs from CI.
> Additionally xml reports also have it.
>
> Do you really use it on your CI?
>

Yes the stdxxx output is disabled and text file enabled when a failure is
hard to analyse.


>
>
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> >
> >
> > Le ven. 18 nov. 2022 à 09:23, Slawomir Jaranowski <
> s.jaranowski@gmail.com>
> > a écrit :
> >
> > > Hi,
> > >
> > > By default Surefire generate plain text reports which is stored in
> > > target/surefire-reports/yourTestName.txt
> > >
> > > It can be disabled by using the "useFile" parameter.
> > >
> > > Question - Does somebody use such reports?
> > > I'm thinking about removing those at all and saving some CO2 :-)
> > >
> > > What do you think?
> > >
> > > --
> > > Sławomir Jaranowski
> > >
> >
>
>
> --
> Sławomir Jaranowski
>

Re: Surefire plain text reports

Posted by Slawomir Jaranowski <s....@gmail.com>.
pt., 18 lis 2022 o 09:24 Romain Manni-Bucau <rm...@gmail.com>
napisał(a):

> +1 to switch it off by default (but keep the feature since it can help
> investigations on CI)
>


Text reports contain exactly the same information that is displayed during
build on console, so you should have it in logs from CI.
Additionally xml reports also have it.

Do you really use it on your CI?


>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le ven. 18 nov. 2022 à 09:23, Slawomir Jaranowski <s....@gmail.com>
> a écrit :
>
> > Hi,
> >
> > By default Surefire generate plain text reports which is stored in
> > target/surefire-reports/yourTestName.txt
> >
> > It can be disabled by using the "useFile" parameter.
> >
> > Question - Does somebody use such reports?
> > I'm thinking about removing those at all and saving some CO2 :-)
> >
> > What do you think?
> >
> > --
> > Sławomir Jaranowski
> >
>


-- 
Sławomir Jaranowski

Re: Surefire plain text reports

Posted by Slawomir Jaranowski <s....@gmail.com>.
pt., 18 lis 2022 o 09:24 Romain Manni-Bucau <rm...@gmail.com>
napisał(a):

> +1 to switch it off by default (but keep the feature since it can help
> investigations on CI)
>


Text reports contain exactly the same information that is displayed during
build on console, so you should have it in logs from CI.
Additionally xml reports also have it.

Do you really use it on your CI?


>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://rmannibucau.metawerx.net/> | Old Blog
> <http://rmannibucau.wordpress.com> | Github <
> https://github.com/rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> <
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> >
>
>
> Le ven. 18 nov. 2022 à 09:23, Slawomir Jaranowski <s....@gmail.com>
> a écrit :
>
> > Hi,
> >
> > By default Surefire generate plain text reports which is stored in
> > target/surefire-reports/yourTestName.txt
> >
> > It can be disabled by using the "useFile" parameter.
> >
> > Question - Does somebody use such reports?
> > I'm thinking about removing those at all and saving some CO2 :-)
> >
> > What do you think?
> >
> > --
> > Sławomir Jaranowski
> >
>


-- 
Sławomir Jaranowski

Re: Surefire plain text reports

Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1 to switch it off by default (but keep the feature since it can help
investigations on CI)

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 18 nov. 2022 à 09:23, Slawomir Jaranowski <s....@gmail.com>
a écrit :

> Hi,
>
> By default Surefire generate plain text reports which is stored in
> target/surefire-reports/yourTestName.txt
>
> It can be disabled by using the "useFile" parameter.
>
> Question - Does somebody use such reports?
> I'm thinking about removing those at all and saving some CO2 :-)
>
> What do you think?
>
> --
> Sławomir Jaranowski
>

Re: Surefire plain text reports

Posted by Elliotte Rusty Harold <el...@ibiblio.org>.
Please don't. I totally use that and expect them to be there without
any extra markup or systems. Plain text, FTW.

On Fri, Nov 18, 2022 at 8:23 AM Slawomir Jaranowski
<s....@gmail.com> wrote:
>
> Hi,
>
> By default Surefire generate plain text reports which is stored in
> target/surefire-reports/yourTestName.txt
>
> It can be disabled by using the "useFile" parameter.
>
> Question - Does somebody use such reports?
> I'm thinking about removing those at all and saving some CO2 :-)
>
> What do you think?
>
> --
> Sławomir Jaranowski



-- 
Elliotte Rusty Harold
elharo@ibiblio.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Surefire plain text reports

Posted by Romain Manni-Bucau <rm...@gmail.com>.
+1 to switch it off by default (but keep the feature since it can help
investigations on CI)

Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
<https://www.packtpub.com/application-development/java-ee-8-high-performance>


Le ven. 18 nov. 2022 à 09:23, Slawomir Jaranowski <s....@gmail.com>
a écrit :

> Hi,
>
> By default Surefire generate plain text reports which is stored in
> target/surefire-reports/yourTestName.txt
>
> It can be disabled by using the "useFile" parameter.
>
> Question - Does somebody use such reports?
> I'm thinking about removing those at all and saving some CO2 :-)
>
> What do you think?
>
> --
> Sławomir Jaranowski
>

Re: Surefire plain text reports

Posted by Mantas Gridinas <mg...@gmail.com>.
I doubt anyone will update the surefire plugin in their existing projects
regardless.

On Fri, Nov 18, 2022, 10:23 Slawomir Jaranowski <s....@gmail.com>
wrote:

> Hi,
>
> By default Surefire generate plain text reports which is stored in
> target/surefire-reports/yourTestName.txt
>
> It can be disabled by using the "useFile" parameter.
>
> Question - Does somebody use such reports?
> I'm thinking about removing those at all and saving some CO2 :-)
>
> What do you think?
>
> --
> Sławomir Jaranowski
>