-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix handling of decision table with unknown output parameter #1178
Conversation
There seems to be a side effect (possibly intentional?) to this change.
And call it as a DT like:
This now throws the new exception. We now need to specify the return variable in the scenario signature. So to continue using our DT's we now need to refactor the scenario to a more verbose:
Not a big issue, but might break some tests (for example BrowserTest.ScenarioTest in the HsacExamples). |
This is not intentional, but an expected side effect (as you may have noticed I did update some tests). Scenario's already required explicit input parameters and supported explicit output parameters. The fact that specifying the output was optional was unexpected and could lead to strange situations, as #1177. When using hsac-fitnesse-plugin: |
We are experiencing serious issues since this change. All of our tests are now failing... How does this work when having a scenario in a table template? The goal of our tests is to fill a variable, so it's not part of any input. All our tests now fail with the output:
|
@maikelgithub can you give a sample wiki page with the scenario/table template combination that shows the issue you are experiencing? |
Hi @fhoeben, thank you for your fast response. We used to have similar code to this:
This was still working on version 20190224. With the new update, this is what I'm trying:
We're considering to keep working on version 20190224 for now. We have 100's of tests to adjust if we want to use the update of 20190409, while we never encountered issues with our scripts prior to the April update. |
I have not tried this combination. It works if the table template is converted to a normal scenario. |
Fixes #1177