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
When setting the DefaultContext option in godog.TestSuite, how would I access this context from within the TestSuiteInitializer or ScenarioInitializer? I'd like to be able to set a few shared resources from within the initializers, but the only approach I've found so far is the make them global variables in the test file. It seems like that context should be available from anywhere within the test suite.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When setting the
DefaultContext
option ingodog.TestSuite
, how would I access this context from within theTestSuiteInitializer
orScenarioInitializer
? I'd like to be able to set a few shared resources from within the initializers, but the only approach I've found so far is the make them global variables in the test file. It seems like that context should be available from anywhere within the test suite.Beta Was this translation helpful? Give feedback.
All reactions