Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the Readme with better instructions
- Loading branch information
Jonathan Penn
committed
Aug 11, 2012
1 parent
3bb7653
commit a087055
Showing
1 changed file
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
# AutomationExample | ||
|
||
This is a demo app to showcase how to run UI Automation scripts from the command line. | ||
This is a demo app to showcase how to run UI Automation scripts from the | ||
command line. | ||
|
||
# Requirements | ||
|
||
You need to have at least Xcode 4.3, but know that UI Automation broke under | ||
Xcode 4.4 as it was released with 10.8 Mountain Lion. As of Xcode 4.5 DP4, UI | ||
Automation works great again, so you'll want to jump to that version if you | ||
don't want to use Xcode 4.3. | ||
|
||
# Running The Demo | ||
|
||
Just open a terminal window, change to the project directory and run this: | ||
|
||
./run_automation.sh | ||
|
||
It will build the application with `xcodebuild` in the `/tmp` directory and | ||
then execute it with my `unix_instruments` wrapper that ensures that | ||
Instruments returns a proper exist status code when a test fails. You can read | ||
more about how that works in the copious comments. | ||
|