lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Speaking of tests
Date Fri, 15 Oct 2010 00:48:45 GMT
In Junit4, there's a TestWatchman class that has a failed method that's
called whenever a test fails. It *seems* like it would be possible to
gather them all up and print them at the end, but I confess I have no
clue how, and don't have time to look now.

Not much help, but...


On Thu, Oct 14, 2010 at 6:35 PM, Chris Hostetter

> : Anyone know how to print out, at the end of a long run of tests, the
> : names of the actual tests that fail to the console?  It's a pain to
> I typically use...
>        grep -rL 'errors="0" failures="0"' test_output_dir
> (where test_output_dir depends on which set of tests failed)
> however two recent changes seem to have made this problematic...
> 1) all of the "temp" files for tetss now seem to live in the
> test_output_dir ... i know thta the threading issues made it important to
> start splitting up the working dirs for each test, but i'm relaly not sure
> while they really need to be in the same dir as the output files .. in any
> case adding a "*.xml" was my work arround when that start happening.
> 2) Solr tests recently started using the "Plain text" formatter by
> default instead of the xml formatter.  this seems like a mistake to me,
> but i'm not certain.
> -Hoss
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message