lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1374) When a test fails, display the test file in the console via ant junit
Date Sat, 26 Sep 2009 20:08:15 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759943#action_12759943
] 

Hoss Man commented on SOLR-1374:
--------------------------------

bq. Related - what's the reason that we use XML formatting for junit output?

hudson, as well as "ant test-reports" 

it would be pretty trivial to rplace the formatter name ("xml") with a property so you could
change it at run time ... or we could.  We can also declare as many formatters as you want
in the <junit> task, each with differnet options, and then mark them as "if" or "unless"
certain properties (the "brief" formatter is already declared that way)

You just have to pick what you want.

bq. I was thinking the list of test files and their paths

It sounds like you just want to see the output of... 
{code}
grep -rL 'errors="0" failures="0"' build/test-results
{code}
...but i'm not really clear on what you'd want to do with that info, so maybe i'm missing
something.

> When a test fails, display the test file in the console via ant junit
> ---------------------------------------------------------------------
>
>                 Key: SOLR-1374
>                 URL: https://issues.apache.org/jira/browse/SOLR-1374
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Jason Rutherglen
>            Priority: Trivial
>             Fix For: 1.5
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When a test fails, it would be great if the junit test output file were displayed in
the terminal.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message