Back to LanguageTool Homepage - Privacy - Imprint

Testrules: Ignore "There were 10 errors"?

When I ran testrules, I got this message:

Testing rule 4900...
Skipped 0 rules for variant language to avoid checking rules more than once
4982 rules tested.
Exception in thread "main" org.junit.internal.runners.model.MultipleFailureException: There were 10 errors:
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
  org.languagetool.rules.patterns.PatternRuleTest$PatternRuleTestFailure(null)
        at org.junit.runners.model.MultipleFailureException.assertEmpty(MultipleFailureException.java:67)
        at org.junit.rules.ErrorCollector.verify(ErrorCollector.java:39)
        at org.languagetool.rules.patterns.PatternRuleTest$PatternRuleErrorCollector.check(PatternRuleTest.java:74)
        at org.languagetool.rules.patterns.PatternRuleTest.main(PatternRuleTest.java:673)
Running disambiguator rule tests...
Running disambiguation tests for English...

The rule on which I am working does indeed have more than ten errors. (It would be useful for testrules to specify the name of the rule.)

I guess that I can ignore the message. @dnaber, please confirm. Thanks.

This should not be ignored, I think. But a fix has been committed, could you try again?

@dnaber, @fabrichter has fixed the error. (The problem was that there were errors, but the message did not show the details. I thought that the message was making a comment about the number of example sentences that contained an error.)