Question
DWP
GB
Last activity: 6 Aug 2019 5:22 EDT
Creating a Test Case for date manipulation in a Decision Table
The decision table works as expected in the application.
I am attempting to create a test case for a decision table. This table takes a string of text, and returns an altered datetime value
I added a Data Transform to the test case to set the ScheduleDate, as well as the pyCalendar value,.
The top condition passes the test, but the second condition evaluates based on CurrentDateTime rather than the ScheduleDate. Is there something I can do in my test case to ensure that it returns a date value based on ScheduleDate rather than the current date?