NoRedInk / rspec-retry

retry randomly failing rspec example
MIT License
584 stars 94 forks source link

Expose retry exceptions to example metadata #106

Closed drummond-work closed 4 years ago

drummond-work commented 4 years ago

The number of attempts is already exposed via example.metadata[:retry_attempts] but you can't get access to the actual spec failure exception.

This PR exposes that through the metadata example.metadata[:retry_exceptions].

michaelglass commented 4 years ago

looks good