Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a script I need to run after all my cucumber test. What's the best way to do this? It seems like the After hook only applies to scenarios.
You can use the global hook at_exit:
your script goes here
For example, in features\support\env.rb I typically have:
Required, but never shown