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
I need to perform certain action only after last scenario has been executed in any test execution. Is there a way to get information from cucumber that how many scenarios are executed till the time or how many are left. I know we can do using a static variable but it doesnt work in parallel execution. Appreciate your help in it. Thanks.
Cucumber v : 5.4.2
The text was updated successfully, but these errors were encountered:
I would suggest using the plugin system to generate the desired output and then have your build system interact with TFS using that output. Trying to use hooks for this will cause you more problems then its worth.
I am not sure how can i do it with plugin. I can do things after every test run or step but how can i get information that all scenarios are executed ?
You can use the TestRunFinished event for that. You can find a fairly recent tutorial on a plugin that reports unused steps that you should be able to adapt to you needs.
Question
I need to perform certain action only after last scenario has been executed in any test execution. Is there a way to get information from cucumber that how many scenarios are executed till the time or how many are left. I know we can do using a static variable but it doesnt work in parallel execution. Appreciate your help in it. Thanks.
Cucumber v : 5.4.2
The text was updated successfully, but these errors were encountered: