#Vega
Vega is a cucumber style BDD testing tool relying on UIAutomation over Instruments. It supports only iOS.
In your Project Folder, create a folder called Automation
.
$pwd
/Users/idrissj/src/myProject
$mkdir Automation
$cd Automation
Your Project Folder will look like this:
MyProject
|- MyProject
|- MyProject.xcodeproj
|- Automation
|
Run vega -init
to setup the folder:
$vega -init
$ls
Feature1.feature core steps
It created 3 items:
core
is where all the utilities vega will use to run the steps codesteps
contains all the steps for your automationFeature1.feature
is an example feature with an associated step in the step folder
To run the example:
vega -features Feature1.feature -deviceid <your device id> -bundleid <your bundle id>
If you don't know the simulator device ids run:
$instruments -s
and your bundle id will be something like:
com.mycompany.appid
Vega will not install the app on the device. For this you can use iDeviceInstaller
tldr: brew install ideviceinstaller
vega -help
email me at: ijuhoor .at. gmail .dot. com