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
sub-tests are invoked independently, thus runtime.Callers can't access the info of the root test
os.Getwd() can be used, to get the current directory of a test. However, that dir might be changed using t.Chdir(..). If Chdir was called that can not be detected on t.
Solution
don't support the persistent test fetcher in sub tests :/
store state data in the module root in a single dir for all packages
The text was updated successfully, but these errors were encountered:
Issue
runtime.Callers
can't access the info of the root testos.Getwd()
can be used, to get the current directory of a test. However, that dir might be changed usingt.Chdir(..)
. IfChdir
was called that can not be detected ont
.Solution
The text was updated successfully, but these errors were encountered: