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
I'm writing test functions for autograder using OK Test format. However, for some functions, there're variable not defined error.
I tried to define them again in the test['setup'], and it's not working. I'm wondering is there any way to make test functions get access to global variables?
The text was updated successfully, but these errors were encountered:
Just adding info for the benefit of anyone who comes across this issue:
Otter does not support sharing variables declared in tests across test cases; there is an open FR for this (#426) but it is not currently planned. Otter also does not support all fields of the OK test format (including setup and teardown).
I'm writing test functions for autograder using OK Test format. However, for some functions, there're variable not defined error.
I tried to define them again in the test['setup'], and it's not working. I'm wondering is there any way to make test functions get access to global variables?
The text was updated successfully, but these errors were encountered: