[jboss-jira] [JBoss JIRA] Created: (JBRULES-2281) Testcases in Guvnor doesn't clean up correctly

Bernd Ruecker (JIRA) jira-events at lists.jboss.org
Tue Sep 22 07:59:49 EDT 2009


Testcases in Guvnor doesn't clean up correctly
----------------------------------------------

                 Key: JBRULES-2281
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2281
             Project: Drools
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: drools-guvnor
            Reporter: Bernd Ruecker
            Assignee: Mark Proctor


In the training we created a TooYoung rule (pretty easy: If a Driver is less than 18 a "Rejection" Fact is added to the working memory).

When we run a test case which expects a Rejection in the WorkingMemory afterwards and insert a driver with age 15 we get a green bar (good!).

If we now change the age to 60 and rerun it in the same window, the test keeps green. Not good! Seems like it doesn't remove the Rejection from the first run properly.

In the QA-Tab, when running all test cases, everything is fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list