Basically the question is similar to this one: Getting the full RSpec test name from within a before(:each) block
I have code like this and it works:
config.before :each do |test|
p test.example.metadata[:example_group][:full_description]
end
Now I also need to get the example group name from within before :all. How do I do that?
Try this: