I would like to be able to display a test group name (and ancestry) during the before(:all) method:
describe "My awesome app" do
before(:all) do
puts running_example_group.metadata[:full_description] # <- what I'm imagining
...
done
...
describe "awesome widget" do
before (:all) do
puts running_example_group.metadata[:full_description] # <- what I'm imagining
...
done
...
done
done
The idea is that would produce the output:
My awesome app
My awesome app awesome widget
This data is available inside "it" clauses, but I can't figure it out for before(:all). Is it not available? Am I just making a dumb mistake?