Question

1
Replies
291
Views
Close popover
LEELABIRAM SRIRAMULU (LEELABIRAMS6337)
Lloyds Banking Group PLC

Lloyds Banking Group PLC
GB
LEELABIRAMS6337 Member since 2017 19 posts
Lloyds Banking Group PLC
Posted: June 3, 2019
Last activity: June 25, 2019
Closed
Solved

Unit testing decision table - Functions in Return value

v7.3.1

A decision table rule has one column sourced by a property and it returns an output value based on the property value. We use a function - addCalendar in my example - to calculate the return value.

When I try to build a unit test case for this decision rule, since the output is dynamic, I want to be able to use a function in the return column of the test case as well but the function is treated as a literal string and my test case fails.

Any suggestions?

***Edited by Moderator: Lochan to update platform capability tags***

Case Management DevOps Testing Applications
Moderation Team has archived post