Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add current execution context in hook #5

Open
apoorvam opened this issue Oct 5, 2016 · 1 comment
Open

Add current execution context in hook #5

apoorvam opened this issue Oct 5, 2016 · 1 comment

Comments

@apoorvam
Copy link
Member

apoorvam commented Oct 5, 2016

To get additional information about the current specification, scenario and step executing, an additional ExecutionContext parameter can be added to the hooks method.

More details on this feature: http://getgauge.io/documentation/user/current/advanced_readings/execution_hooks/context.html

@emlaver
Copy link

emlaver commented Feb 7, 2022

+1 it would be great to have access to the context object which would be in-line with the Node, Python, Java, and possibly other language implementations.

Updated documentation link: https://docs.gauge.org/writing-specifications.html?os=macos&language=golang#current-execution-context-in-the-hook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants