The Maven Surefire plugin allows you to explicitly set a single test or set
of tests using wildcard matching:

http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html

<http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html>And
as for your "better command line output",  why not just use the command line
to output the test right there:

mvn test -Dtest=MyTest; cat target/surefire-reports/com.thing....MyTest.txt

as you can easily get the output right back from the test in
target/surefire-reports

-Nick

On Fri, Jun 4, 2010 at 21:50, Peter Niederwieser <[email protected]> wrote:

>
> Is there a way to get better command line output when running a JUnit 4
> test
> suite with Surefire? I'd like to get the same output as when running test
> classes directly, but I only get the "Running ..." and "Tests run: ..."
> output once for the whole suite, and failure output only appears after the
> whole suite (comprised of more than hundred test classes) has finished.
> This
> means I have to wait much longer until I get feedback.
>
> Cheers,
> Peter
> --
> View this message in context:
> http://old.nabble.com/Command-line-output-when-running-JUnit-4-test-suite-tp28786362p28786362.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to