Skip to content

Instantly share code, notes, and snippets.

@andreychernih
Created Apr 17, 2014
Embed
What would you like to do?
Debug state leak with Rspec (wait till it fails and re-run with last random seed)
#!/bin/bash
rspec spec --order rand:$RANDOM
while [ $? -eq 0 ]; do
rspec spec --order rand:$RANDOM
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment