In a project, we need an OAuth token for 90 % of the feature tests.
It's now implemented using the beforeEachScenario hook:
beforeEachScenario (
Attach {
setup_project
create_token
}
)
But we actually don't need a new token for each scenario.
It'd great to have a beforeAll like hook where we could fetch an OAuth token and store it in the session for all feature tests.
In a project, we need an OAuth token for 90 % of the feature tests.
It's now implemented using the
beforeEachScenariohook:But we actually don't need a new token for each scenario.
It'd great to have a
beforeAlllike hook where we could fetch an OAuth token and store it in the session for all feature tests.