Skip to content

Instantly share code, notes, and snippets.

@gustin
Forked from chrismdp/run-changed-tests.sh
Created November 29, 2012 16:10
Show Gist options
  • Save gustin/4170053 to your computer and use it in GitHub Desktop.
Save gustin/4170053 to your computer and use it in GitHub Desktop.
Handy little command to run all the tests that I've changed since the last commit
git status --porcelain | grep 'test' | grep -v 'factories' | cut -c4- | sort | uniq | xargs zeus test
@dcunited001
Copy link

nice! i'm just gettin to using zeus. trying to get my custom plan setup. at least i think that's where i'm having issues.

@dcunited001
Copy link

actually, the more i think about it, this is perfect!

figured out my zeus issues btw. it's still running my tests twice though, but it's all good. for now, anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment