You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW: It is better to use pattern "Good setup don't need clean up". So I suggest just to set a variable to $null at the first line of your scenario.
Agree we should tackle with this issue. But the good thing is that we have the workaround (you mentioned).
if I use $x in the test, when I execute some scenario with "local" variable $x, then I can see that $x in test - not exist or $null.
The pattern is not related with local variables, because the scenario doesn't equal the test.
All variables in PowerSlim is global. If I create $x variable in one scenario, I can use it in other, in general script, everywhere.
Now, to avoid problems with unexpected value in $x-variable in script I call Remove-variable x in last line of scenario. It's not comfortably.
The text was updated successfully, but these errors were encountered: