-
Notifications
You must be signed in to change notification settings - Fork 6
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
Suite Parameters Unexpectedly null If Run On Forks #192
Comments
This one was actually caused by an error in the "assign" statement processing with regard to forks. It should generally work like an assignment done with the "variable aVariable initially 10" definition variant, but that was not the case. |
I verified that the problem is fixed for the given Integrity script, but noticed that it still occurrs if fixture methods are used to assign variables instead of the assign statement. See #194. |
In some cases, parameters of suites are null, although proper values are provided. Run for instance the following script:
which uses the fixture method (just to make the problem clear):
One would expect that running the suite
test1
would be green, but that is not the case. More precisely L2 and L3 are greedn, but L1 and L4 are not. In some cases the suitetestNotNull
is started with the parameter valuenull
, although all three variables have a proper value. Curiously L3 seems to be green only because the suitegenerateAFour
was called on the same fork before.The problem seems occur when combining forks, local variables and suite parameters. The problem also occurs when variables 1 to 3 are not locally defined, but return variables (which have the same scope). However, all tests are green if variables 1 to 3 are not defined locall, but as package variables.
Note: The observations above where done with Integrity 0.17.11.
The text was updated successfully, but these errors were encountered: