You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2015/04/08 19:39:13 UTC

[jira] [Created] (LUCENE-6411) Add AssertingSpans

Robert Muir created LUCENE-6411:
-----------------------------------

             Summary: Add AssertingSpans
                 Key: LUCENE-6411
                 URL: https://issues.apache.org/jira/browse/LUCENE-6411
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


Currently Spans needed a lot of asserts in every Spans to make it possibly to debug things. If you miss a single assert, bugs are hidden or not narrowed down the problematic Spans class. 

Instead I think it would be better if we made a test-framework/AssertingSpansQuery that wrapped another SpanQuery and added all the checks. We could use it to really improve the debuggability and coverage of tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org