Skip to content

secretlocation/altunity-saucelabs-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

altunity-saucelabs-python

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.

Core Concepts

  • Behaviour Driven Development is an agile software development process that encourages collaboration among developers, quality assurance testers, and customer representatives in a software project.
  • 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.

Getting Started

  1. Install Python3
  2. Download Virtual USB
  3. Open the integrated terminal
  4. Install dependencies noted in requirements.txt
    • In the integrated terminal run pip3 install -r requirements.txt
  5. In the root folder create a new file called .env
  6. Copy+Paste the following (changing the placeholder values)
    SAUCE_USERNAME="kirbycope"
    SAUCE_ACCESS_KEY="0123456789"
    SAUCE_VUSB_JAR="/virtual-usb-client.jar"
    
  7. Save

Run Tests

AltUnity (Unity Mobile Apps)

The apk is included as part of this sample repo.

  • In the integrated terminal run behave

About

fork of public repo mainly as a safeguard against deletion and maybe collaboration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.0%
  • Gherkin 5.0%