I did not explicitly put useFile to true, but according to the documentation
this is the default. Also when I run with -X I saw that useFile was true, so
this will not help.

regards,

Wim

2006/11/8, Martin Börlin <[EMAIL PROTECTED]>:

have you tried this?

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <!--reportFormat>plain</reportFormat-->
          <useFile>true</useFile> <!-- if true output if written to a
file-->
          <testFailureIgnore>true</testFailureIgnore><!--Set this to
true to ignore a failure during testing-->
        </configuration>
      </plugin>
    </plugins>
  </build>

more config on the surefire-plugin:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

-Martin

>----Ursprungligt meddelande----
>Från: [EMAIL PROTECTED]
>Datum: 2006-11-08 09:41:21
>Till: "Maven Users List"<[email protected]>
>Ärende: [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
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to