kinecosystem / Kin-Stellar-SampleApp-Automation

A repository for the QA automation tests for the Kin Stellar SDK sample apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kin-Stellar-SampleApp-Automation

Work in progress A repository for the QA automation tests for the Kin Stellar SDK sample apps iOS / Android

Warning

After running these tests, all wallets on the sample app will be deleted, and you will lose access to them.

Usage

The app should already be installed on the emulator/simulator prior to running the test, and no test-net wallets should be on it.

  1. Open a new Appium server
  2. For android,turn on your emulator.
  3. Configure your desired capabilities inside the relevant sanity file
  4. Open your terminal in the folder of this project
  5. Run the command
pytest -v -x --no-print-logs iOS/Android_Sanity.py

Prerequisites

Developed on Python 3.6

Python dependencies:

pip3 install Appium-Python-Client requests pytest

In addition to these python packages, this following steps are needed:

  • Install Appium - Download
  • For Android, install Android Studio - Download
  • For iOS, install Xcode - Download
  • For iOS, install the following brew package:
brew install carthage

Example

iOS Sanity

About

A repository for the QA automation tests for the Kin Stellar SDK sample apps


Languages

Language:Python 100.0%