Skip to content

Instantly share code, notes, and snippets.

@insanehunter
Created August 30, 2011 19:54
Show Gist options
  • Save insanehunter/1181852 to your computer and use it in GitHub Desktop.
Save insanehunter/1181852 to your computer and use it in GitHub Desktop.
Running application tests using WaxSim
waxsim -f iphone -e CFFIXED_USER_HOME="/Users/ihunter/Library/Application Support/iPhone Simulator/5.0" \
-e DYLD_FALLBACK_FRAMEWORK_PATH="/Developer/Library/Frameworks" \
-e DYLD_FRAMEWORK_PATH="/Users/ihunter/Work/MyApp/build/Debug-iphonesimulator" \
-e DYLD_INSERT_LIBRARIES="/../../Library/PrivateFrameworks/IDEBundleInjection.framework/IDEBundleInjection" \
-e DYLD_LIBRARY_PATH="/Users/ihunter/Work/MyApp/build/Debug-iphonesimulator" \
-e DYLD_ROOT_PATH="/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk" \
-e IPHONE_SIMULATOR_ROOT="/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk" \
-e NSUnbufferedIO=YES \
-e XCInjectBundle="/Users/ihunter/Work/MyApp/build/Debug-iphonesimulator/Functest.octest" \
-e XCInjectBundleInto="/Users/ihunter/Work/MyApp/build/Debug-iphonesimulator/MyApp.app/MyApp" \
"/Users/ihunter/Work/MyApp/build/Debug-iphonesimulator/MyApp.app" \
-NSTreatUnknownArgumentsAsOpen NO \
-SenTest All \
"/Users/ihunter/Work/MyApp/build/Debug-iphonesimulator/Functest.octest"
@insanehunter
Copy link
Author

That's exactly how it's called by XCode to run application tests (SenTestingKit)

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