There is probably some configuration available that will satisfy your
needs (e.g. useFile):
http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html

If not, you may need to just cat some files under
target/surefire-reports when your build is done.

Also look here, it may be interesting for you:
http://maven.apache.org/surefire/maven-surefire-plugin/newerrorsummary.html

Wayne

On Thu, Sep 24, 2015 at 9:48 AM, Phil Adams <padam...@gmail.com> wrote:
> When I run a junit test suite class via the surefire plugin, I see only the
> progress information for the test suite itself.  So if the suite contains
> 100 test classes, I see output like this on stdout:
>
> Running my.package.MySuite
> Tests run: 1257, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 124.971
> sec - in my.package.MySuite
>
> Results :
>
> Tests run: 1257, Failures: 0, Errors: 0, Skipped: 1
>
> I would like to find a way to continue using the test suite class, but yet
> see progress information on stdout that is similar to running the test
> classes individually, like this:
>
>     Running my.package.MyTestClass1
>     Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.50
> sec - in my.package.MyTestClass1
>     Running my.package.MyTestClass2
>     Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.25
> sec - in my.package.MyTestClass2
>     Running my.package.MyTestClass3
>     Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.74
> sec - in my.package.MyTestClass3
>     ...
>     Results :
>
>     Tests run: 1257, Failures: 0, Errors: 0, Skipped: 1
>
> How can this be done?
>
> Thanks in advance for any help
>
> --
> Phil Adams

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

Reply via email to