rspec-repeat icon indicating copy to clipboard operation
rspec-repeat copied to clipboard

Execute a passed block after any failed test.

Open sh41 opened this issue 1 year ago • 0 comments

Hi @rstacruz, thanks for the really useful gem!

I've added an option to pass a block to the repeat definition which allows arbitrary code to be executed if a spec fails.

I hope you think it's a useful addition to the gem.

sh41 avatar Apr 26 '24 15:04 sh41