You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Dawid Weiss (Commented) (JIRA)" <ji...@apache.org> on 2012/04/15 22:29:19 UTC
[jira] [Commented] (LUCENE-3988) improve test output to be nicer to
80chars long terminals
[ https://issues.apache.org/jira/browse/LUCENE-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254422#comment-13254422 ]
Dawid Weiss commented on LUCENE-3988:
-------------------------------------
I thought about this a bit. The previous output was a mirror of surefire. After some deliberation I don't think it makes sense to present the information so verbosely (0 errors, 0 failures, etc.). How about this:
{noformat}
[junit4] Suite: TestReversedWildcardFilterFactory
[junit4] Time: 3.00s, 4 tests
[junit4]
[junit4] Suite: [...]r.update.processor.UniqFieldsUpdateProcessorFactoryTest
[junit4] Time: 3.00s, 4 tests, 1 skipped
[junit4]
[junit4] Running org.apache.solr.spelling.SpellPossibilityIteratorTest
[junit4] Time: 3.00s, 4 tests, 1 error <<< FAILURES!
[junit4]
[junit4] Suite: org.buhu.update.processor.BlahBlag
[junit4] Time: 3.00s, 4 tests, 1 error, 2 failures, 1 skipped
{noformat}
Test name will be displayed in full or truncated (with an ellipsis) to fit into the desired number of columns (80 by default)?
> improve test output to be nicer to 80chars long terminals
> ---------------------------------------------------------
>
> Key: LUCENE-3988
> URL: https://issues.apache.org/jira/browse/LUCENE-3988
> Project: Lucene - Java
> Issue Type: Improvement
> Components: general/test
> Reporter: Robert Muir
>
> these lines tend to always use 82 chars:
> {noformat}
> [junit4] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time: 3.97s
> {noformat}
> Can we remove some of the spaces so it fits? Maybe remove the word 'run' from "Tests run".
> occasionally (not always) long classnames wrap too 'Running org.apache.lucene.this.that.TestFoo' ... maybe
> just print the short classname?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org