There was a bug fixed for 5.4 that meant the previous test results were not cleared.

If you are unable to try 5.4 (which I know for sure does not have any problems with POJO models too) then closing the test scenario and reopening might provide a work around.

sent on the move

On 28 Jun 2012 14:34, "abhinay_agarwal" <abhinay_agarwal@infosys.com> wrote:

Nopz..i tried refreshing the browser, but the same problem persists..

1 more thing..now i was trying to import a rule from Global to a package, i
was successful with that..

then i made a Test Scenario on the newly imported rule and it was running
fine..(results = 100%)

now, i went into the Global area and changed the condition in the rule so
that the condition in the TEST scenario fails..saved it ( when the same rule
was viewed inside the package, the change was being reflected there)

But when the TEST SCENARIO was run, instead of failing this time, it again
showed SUCCESS(results = 100% ) !!

my rule was very simple :

when
sales > 1000
then
discount = 5

Test scenario:

sales = 1500
rule sales fired 1 time


i just changed the rule as :

when
sales < 1000
then
discount = 5


but still the test scenario showed test results as 100%

can omeone look into it..

thanks,
Abhinay

--
View this message in context: http://drools.46999.n3.nabble.com/Import-into-specific-package-GUVNOR-help-tp4018325p4018328.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users