Created
May 29, 2020 21:58
-
-
Save rot26/b75537eeb7448cfbab4b1a4cc9a38275 to your computer and use it in GitHub Desktop.
[Behave Hooks ] #gherkin #behave #bdd #template #python
This file contains hidden or 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
def before_all(context): | |
print('before_all activated') | |
def after_all(context): | |
print('after_all activated') | |
def before_feature(context, feature): | |
print('before_feature activated') | |
def after_feature(context, feature): | |
print('after_feature activated') | |
def before_tag(context, tag): | |
print('before_tag activated') | |
def after_tag(context, tag): | |
print('after_tag activated') | |
def before_step(context, step): | |
print('before_step activated') | |
def after_step(context, step): | |
print('after_step activated') | |
def before_scenario(context, step): | |
print('before_scenario activated') | |
def after_scenario(context, step): | |
print('after_scenario activated') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks @1digicoder