[rules-users] Fwd: Re: Guvnor - expected value of a list

Michael Anstis michael.anstis at gmail.com
Wed Feb 15 02:47:33 EST 2012


sent on the move

---------- Forwarded message ----------
From: "Péter Gombás" <gombas.peter at gmail.com>
Date: 15 Feb 2012 07:40
Subject: Re: [rules-users] Guvnor - expected value of a list
To: <michael.anstis at gmail.com>

Hello Michael,

yes, it is a Test scenario in Guvnor. In attachment is a very simple
project. Target is to check the resulting list. On the picture you can
see the problem: altough expected values are the same as target the
test is not succesful. Or am i using it not correctly?

Peter

2012/2/14 Michael Anstis <michael.anstis at gmail.com>:
> I assume this is a QA \ Test Scenario in Guvnor?
>
> It's going to be helpful if you can provide an export of your repository
(or
> an extract) showing the issue.
>
>
> On 14 February 2012 16:12, gombasp <gombas.peter at gmail.com> wrote:
>>
>> Hello,
>>
>> I have the following problem: i would like to compare a value in expected
>> section of a Guvnor test. Guvnor says actual value is:
>>
>> (Actual: [test1, test1])
>>
>> When i enter [test1, test1] to the expected value it will not match with
>> actual.
>> Is it possible to compare list values? If yes, what is the syntax?
>>
>> Thanks,
>>
>> Peter
>>
>> --
>> View this message in context:
>>
http://drools.46999.n3.nabble.com/Guvnor-expected-value-of-a-list-tp3744129p3744129.html
>> Sent from the Drools: User forum mailing list archive at Nabble.com.
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



--
Gombás Péter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120215/33881d7f/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guvnor_test.zip
Type: application/zip
Size: 14272 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20120215/33881d7f/attachment.zip 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: guvnor.JPG
Type: image/jpeg
Size: 54463 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20120215/33881d7f/attachment.jpe 


More information about the rules-users mailing list