Created
May 6, 2013 14:18
-
-
Save maxehmookau/5525451 to your computer and use it in GitHub Desktop.
Using Guard to run your OCUnit tests automatically.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard 'shell' do | |
watch(/(.*).(m|h|mm|hh)/) do | |
puts "Change detected. Running tests..." | |
`../xctool/xctool.sh -project XCodeProject.xcodeproj -scheme MainScheme test -reporter plain` | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment