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 appium|Start an appium server| |grunt downloadApp|Download the UICatalog app from Apple| |grunt lint|Run JSLint| |grunt test|Run all the tests| |grunt functional|Run the entire functional test suite| |grunt android|Run the functional test suite for android| |grunt ios|Run the functional test suite for ios| |grunt unit|Run the unit tests| |grunt buildApp:<AppName>:<SDK>|Build an iOS app for the iPhone Simulator. Expects there to be a .app at `sample-code/apps//build/Release-iphonesimulator/.app`. Default SDK is 'iphonesimulator6.0'| |grunt signApp:<certName>|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:<AppName>|Configure an android test app so it can be built with ant. Expects an android project at `sample-code/apps/`| |grunt buildAndroidApp:<AppName>|Build an android app using ant. Expects the app to be at `sample-code/apps/`| |grunt installAndroidApp:<AppName>|Installs an android app to the currently running emulator or device| |grunt docs|Generate docs| Miscellaneous notes -------- By default, `grunt buildApp` builds apps using the iPhone 6.1 simulator SDK. You can overwrite the simulator by passing another SDK to grunt (to figure out which SDKs you have available, try `xcodebuild -showsdks`: > grunt buildApp:UICatalog:iphonesimulator6.0