Skip to content

Instantly share code, notes, and snippets.

@alexargo
Created February 13, 2015 22:37
Show Gist options
  • Save alexargo/245d09f2dc527053d5df to your computer and use it in GitHub Desktop.
Save alexargo/245d09f2dc527053d5df to your computer and use it in GitHub Desktop.
frankencoverit coverage scripts attempts
#!/bin/sh
#Cleanup old stuff
rm -rf build
rm -rf DerivedData
# First Run Tests
xcodebuild -scheme Common -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 5s,OS=8.1' clean test | /usr/bin/xcpretty -c --report junit
# Now Produce Test Coverage Report
groovy http://frankencover.it/with -source-dir "${PWD}/Common"
#!/bin/sh
#Cleanup old stuff
rm -rf build
rm -rf DerivedData
# First Run Tests
xcodebuild -scheme Common -derivedDataPath DerivedData -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 5s,OS=8.1' clean test | /usr/bin/xcpretty -c --report junit
# Now Produce Test Coverage Report
groovy http://frankencover.it/with -source-dir "${PWD}/Common" -products-dir "${PWD}/DerivedData"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment