You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rspec
I would like to get access to the tests results after the suite is run, something like:
RSpec.configure do |config|
config.after(:suite) do
failures = RSpec::ExecutionResults.failures
end end
Jon Rowe
unread,
May 13, 2019, 5:46:48 AM5/13/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rs...@googlegroups.com
Hi
The official way to do this is to build a formatter / listener and subscribe to the relevant notification (either gathering failures as they happen or all of them at the end).
There is a way to get all examples via `RSpec.world` but that is currently considered a private API and thus usage is at your own risk :)