-
Install XCode
-
Install Python
-
Install Appium https://www.youtube.com/watch?v=meU4TzI3KNM
-
Create/Upload project with app, wich will be tested
-
Create project for tests. In our case it will be project in Pycharm. Or download the project from GitHub.
-
Run the test scripts
- Run Appium
- Run XCode simulator
- Start new Apium server session
- Configure capabilities. E.g.
{ "platformName": "iOS", "platformVersion": "10.3", "deviceName": "IPhone Simulator", "app": "/Users/user/Desktop/RepSpark-App/ios/build/Build/Products/Debug-iphonesimulator/repspark.app" }
- Save it.
- Start Appium emulator session
def setUpClass(cls):
caps = {}
caps["platformName"] = "iOS"
caps["platformVersion"] = "10.3"
caps["deviceName"] = "IPhone Simulator"
caps["app"] = "/Users/user/Desktop/RepSpark-App/ios/build/Build/Products/Debug-iphonesimulator/repspark.app"
cls.driver = webdriver.Remote("http://localhost:4723/wd/hub", caps)
cls.driver.implicitly_wait(10)
- Create new branch
- Make changes in code
- Commit changes 3.1 Add Commit Message. E.g fix #issue_number
- Push changes
- On github.com click on Compare & pull request
- Add reviewers
- Create pull request