Optimus Template is the native framework for Optimus, designed to help you to get started with your tests in the swiftest time possible. Read more about Optimus on our wiki.
- HomeBrew, XCode 8.2 or above - Mac
- LinuxBrew - Linux
- Chocolatey - Windows
Install the optimus-cli utilty
npm install -g optimus-cli
Verify if your system is ready for using Optimus
$ optimus doctor
Install if optimus doctor
reported any missing dependencies.
$ optimus setup
To create a new Optimus project.
$ optimus new <project_name>
Once the project is created you can import the project into your favourite IDE. However we love IntelliJ though.
Your new OptimusTemplate project gets created with a sample test for an example app HelloOptimus
you can run your project as shown below.
gradle clean build runFragmentation -DtestFeed=HelloOptimusAndroid -Dtags=@helloOptimus
Note: You will see that HelloOptimus app is launched on all the connected Android Devices and emulators.
gradle clean build runFragmentation -DtestFeed=HelloOptimusIOS -Dtags=@helloOptimus
Note: You will see that HelloOptimus app is launched on a IPhone6 Simulator.
You can learn more about the test which ran on your devices by following our Android Tutorial or IOS Tutorial
Our FAQ covers most of the common issues. In case the issue you are facing is not available, you can reach out to us at [email protected]