AltUnity enables UI test automation, by instrumenting games to get access and programmatically control the Unity objects.
SauceLabs is an American cloud-hosted, web and mobile application automated testing platform company based in San Francisco, California.
Python is an interpreted high-level general-purpose programming language.
- Behaviour Driven Development is an agile software development process that encourages collaboration among developers, quality assurance testers, and customer representatives in a software project.
- Stakeholders might be used to the User Story template; "As a … I want … So that …"
- Developers might be used to a unit test design pattern; "Arrange, Act, Assert"
- Cucumber expresess functionality using keywords; "Given, When, Then"
- Fluent Interface is an object-oriented API whose design relies extensively on method chaining.
- PageObect.someFunction()
- PageOject.someElement().click()
- Page Object Model is a Design Pattern which has become popular in test automation for enhancing test maintenance and reducing code duplication.
- The "login" screen will have a "Login page object" that contains the selectors for elements on the page and functions that can be performed on that page.
- Install Python3
- Download Virtual USB
- Open the integrated terminal
- Install dependencies noted in requirements.txt
- In the integrated terminal run
pip3 install -r requirements.txt
- In the integrated terminal run
- In the root folder create a new file called
.env
- Copy+Paste the following (changing the placeholder values)
SAUCE_USERNAME="kirbycope" SAUCE_ACCESS_KEY="0123456789" SAUCE_VUSB_JAR="/virtual-usb-client.jar"
- Save
The apk is included as part of this sample repo.
- In the integrated terminal run
behave