If test has methods with @Ignore, we should print out a notice
--------------------------------------------------------------
Key: LUCENE-2709
URL: https://issues.apache.org/jira/browse/LUCENE-2709
Project: Lucene - Java
Issue Type: Test
Affects Versions: 3.1, 4.0
Reporter: Robert Muir
Fix For: 3.1, 4.0
Currently these silently pass, but there is usually a reason they are @Ignore
(sometimes good, sometimes really a TODO we should fix)
In my opinion we should add reasons for all these current @Ignores like Mike
did with Test2BTerms.
Example output:
{noformat}
[junit] Testsuite: org.apache.lucene.index.Test2BTerms
[junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.184 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: Ignoring test method 'test2BTerms' Takes ~4 hours to run on a
fast machine!! And requires that you don't use PreFlex codec.
[junit] ------------- ---------------- ---------------
...
[junit] Testsuite: org.apache.solr.handler.dataimport.TestMailEntityProcessor
[junit] Tests run: 0, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: Ignoring test method 'testConnection'
[junit] NOTE: Ignoring test method 'testRecursion'
[junit] NOTE: Ignoring test method 'testExclude'
[junit] NOTE: Ignoring test method 'testInclude'
[junit] NOTE: Ignoring test method 'testIncludeAndExclude'
[junit] NOTE: Ignoring test method 'testFetchTimeSince'
[junit] ------------- ---------------- ---------------
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]