You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2006/11/08 09:41:21 UTC

[Surefire plugin] console output of tests

Hi,

we are currently converting from M1 to M2, and we see that the output of our
tests is not redirected to a file anymore.

I found several questions for this on this mailinglist[1], but no answers so
far. Could somebody please answer this?

regards,

Wim
[1]
http://www.nabble.com/-M2-Surefire%3A-add-Console-output-to-the-reports--tf1937138s177.html#a5307553
http://www.nabble.com/maven-surefire-plugin-not-redirecting-test-output-tf2271529s177.html#a6305553
http://www.nabble.com/M1-test-plugin-vs-M2-surefire-plugin-tf1712068s177.html#a4648726

Re: [Surefire plugin] console output of tests

Posted by Wim Deblauwe <wi...@gmail.com>.
Yes. Basically I want at least the same functionality i had with Maven 1.

regards,

Wim

2006/11/8, Edwin Punzalan <ep...@exist.com>:
>
>
> Please ignore what I said below, clearly it shows that I need to go to
> sleep asap. ^_^
>
>
> What is it that you want to do?  Output your System.out and System.err
> into the generated file also ? (similar to one of your posted link)
>
>
> Edwin Punzalan wrote:
> >
> > Please see surefire documentation, especially
> >
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile
> >
> >
> > Default value is true so its not using the console... try setting it
> > to false.
> >
> >
> > Hope that helps,
> >
> >
> > ^_^
> >
> > Wim Deblauwe wrote:
> >> Hi,
> >>
> >> we are currently converting from M1 to M2, and we see that the output
> >> of our
> >> tests is not redirected to a file anymore.
> >>
> >> I found several questions for this on this mailinglist[1], but no
> >> answers so
> >> far. Could somebody please answer this?
> >>
> >> regards,
> >>
> >> Wim
> >> [1]
> >>
> http://www.nabble.com/-M2-Surefire%3A-add-Console-output-to-the-reports--tf1937138s177.html#a5307553
> >>
> >>
> http://www.nabble.com/maven-surefire-plugin-not-redirecting-test-output-tf2271529s177.html#a6305553
> >>
> >>
> http://www.nabble.com/M1-test-plugin-vs-M2-surefire-plugin-tf1712068s177.html#a4648726
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [Surefire plugin] console output of tests

Posted by Edwin Punzalan <ep...@exist.com>.
Please ignore what I said below, clearly it shows that I need to go to 
sleep asap. ^_^


What is it that you want to do?  Output your System.out and System.err 
into the generated file also ? (similar to one of your posted link)


Edwin Punzalan wrote:
>
> Please see surefire documentation, especially 
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile 
>
>
> Default value is true so its not using the console... try setting it 
> to false.
>
>
> Hope that helps,
>
>
> ^_^
>
> Wim Deblauwe wrote:
>> Hi,
>>
>> we are currently converting from M1 to M2, and we see that the output 
>> of our
>> tests is not redirected to a file anymore.
>>
>> I found several questions for this on this mailinglist[1], but no 
>> answers so
>> far. Could somebody please answer this?
>>
>> regards,
>>
>> Wim
>> [1]
>> http://www.nabble.com/-M2-Surefire%3A-add-Console-output-to-the-reports--tf1937138s177.html#a5307553 
>>
>> http://www.nabble.com/maven-surefire-plugin-not-redirecting-test-output-tf2271529s177.html#a6305553 
>>
>> http://www.nabble.com/M1-test-plugin-vs-M2-surefire-plugin-tf1712068s177.html#a4648726 
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

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


Re: [Surefire plugin] console output of tests

Posted by Edwin Punzalan <ep...@exist.com>.
Please see surefire documentation, especially 
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#useFile

Default value is true so its not using the console... try setting it to 
false.


Hope that helps,


^_^

Wim Deblauwe wrote:
> Hi,
>
> we are currently converting from M1 to M2, and we see that the output 
> of our
> tests is not redirected to a file anymore.
>
> I found several questions for this on this mailinglist[1], but no 
> answers so
> far. Could somebody please answer this?
>
> regards,
>
> Wim
> [1]
> http://www.nabble.com/-M2-Surefire%3A-add-Console-output-to-the-reports--tf1937138s177.html#a5307553 
>
> http://www.nabble.com/maven-surefire-plugin-not-redirecting-test-output-tf2271529s177.html#a6305553 
>
> http://www.nabble.com/M1-test-plugin-vs-M2-surefire-plugin-tf1712068s177.html#a4648726 
>
>

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