[jboss-jira] [JBoss JIRA] (DROOLS-2188) Remove expected = RuntimeException.class attribute from tests

Tibor Zimányi (JIRA) issues at jboss.org
Mon Dec 18 08:50:00 EST 2017


Tibor Zimányi created DROOLS-2188:
-------------------------------------

             Summary: Remove expected = RuntimeException.class attribute from tests
                 Key: DROOLS-2188
                 URL: https://issues.jboss.org/browse/DROOLS-2188
             Project: Drools
          Issue Type: Task
          Components: core engine
    Affects Versions: 7.5.0.Final
            Reporter: Tibor Zimányi
            Assignee: Tibor Zimányi
             Fix For: 7.6.0.Final


Some tests have @Test annotations with attribute expected = RuntimeException.class. This is too general and can hide bugs in related area that end with RuntimeException. E.g. see [1]. 

[1] https://issues.jboss.org/browse/DROOLS-2186



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list