Access running RSpec / Steak script name

I want to have (: each) my test suite in front of me, which records the name of the running script in the test log, so I can analyze it later and find out which test it did. Is this possible? :)

Thanks for any feedback!

+5
source share
1 answer

You can access it through example.description. See the corresponding rspec function .

+5
source

All Articles