mirror of
https://github.com/appium/appium.git
synced 2026-02-05 00:58:56 -06:00
update grund docs
This commit is contained in:
@@ -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:<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/<AppName>`|
|
||||
|grunt buildAndroidApp:<AppName>|Build an android app using ant. Expects
|
||||
the app to be at `sample-code/apps/<AppName>`|
|
||||
|grunt installAndroidApp:<AppName>|Installs an android app to the
|
||||
currently running emulator or device|
|
||||
|grunt docs|Generate docs|
|
||||
|
||||
Miscellaneous notes
|
||||
--------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user