update grund docs

This commit is contained in:
Jonathan Lipps
2013-03-04 18:40:10 -08:00
parent f40afaaab3
commit e0260c33a9

View File

@@ -4,6 +4,33 @@ Appium grunt commands
[Grunt](http://gruntjs.com) is like make for Node.js! We use it to automate all
kinds of appium dev tasks. Here's what you can do:
|Task|Description|
|----|-----------|
|grunt lint|Run JSLint|
|grunt test|Run all the tests|
|grunt functional|Run the functional test suite|
|grunt unit|Run unit tests|
|grunt appium|Start an appium server|
|grunt mobileSafari|Start an Appium server with mobile Safari loaded|
|grunt downloadApp|Download the UICatalog app from Apple|
|grunt buildApp:<AppName>|Build an iOS app for the iPhone Simulator.
Expects there to be a .app at
`sample-code/apps/<AppName>/build/Release-iphonesimulator/<AppName>.app`|
|grunt signApp:&lt;certName&gt;|Signs the test app with an absolute path to
an iOS dev certificate|
|grunt authorize|Authorize your simulator to run without prompting|
|grunt log|Tail appium.log (useful when running tests)|
|grunt configAndroidBootstrap|Configure the android bootstrap jar so it can be
built with ant|
|grunt buildAndroidBootstrap|Build the android bootstrap jar with ant|
|grunt configAndroidApp:&lt;AppName&gt;|Configure an android test app so it can
be built with ant. Expects an android project at `sample-code/apps/<AppName>`|
|grunt buildAndroidApp:&lt;AppName&gt;|Build an android app using ant. Expects
the app to be at `sample-code/apps/<AppName>`|
|grunt installAndroidApp:&lt;AppName&gt;|Installs an android app to the
currently running emulator or device|
|grunt docs|Generate docs|
Miscellaneous notes
--------