How about this, sorted, diff-able and only include failures.

cat */*/target/surefire-reports/* | grep "FAILURE" | grep "Tests run" | sed -e "s/, Time elapsed.* /\|/" | sort -t'|' -k2 > prepatch


On 7 Mar 2014, at 09:24, Egon Willighagen <> wrote:

On Fri, Mar 7, 2014 at 10:18 AM, John May <> wrote:
cat */*/target/surefire-reports/* | grep "Tests run" > prepatch

Yes, that was basically what I was doing... and it gives lines like this:

Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019
sec - in org.openscience.cdk.debug.DebugAdductFormulaTest

You cannot diff that prepatch/postpatch... how do you get a quick
overview of the new fails?

(There are some currently already, so I have to ignore failing tests,
to complete all tests...)

Moreover, is the list of tests guaranteed to be sorted? In the Maven
output it is not :(


E.L. Willighagen
Department of Bioinformatics - BiGCaT
Maastricht University (
ORCID: 0000-0001-7542-0286

Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
Cdk-devel mailing list