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 :) Cheers Jon Rowe --------------------------- [email protected] jonrowe.co.uk On 6 May 2019 at 13:41, [email protected] wrote: > 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 > > > > > > > > > > > -- You received this message because you are subscribed to the Google Groups "rspec" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/dejalu-217-5b1208af-6620-4747-b265-d2d814e44a31%40jonrowe.co.uk. For more options, visit https://groups.google.com/d/optout.
