-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(globalhooks): add the ability to access a copy of the features m…
…etadata (#68) A global hook (BeforeAll and AfterAll) will run before or after every single feature. However they could only be used to add information to the context (which is empty when the feature starts). No information about the feature could be used in the hooks. The global hooks are now capable of passing a copy of the metadata (name of the feature and tags, at the moment) to the hook function, allowing for more targeted behaviors. Co-authored-by: Arthur Warnier <arthur.warnier@gaming1.com>
- Loading branch information
Showing
2 changed files
with
62 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters