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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org