Skip to content
tech-jin-coderPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

Install Some Software

  1. install Appium
  2. install Geymotion or ohter Android emulator.
  3. open Geymotion and create a virtual device.'

Installation

  1. Install Requirements
 pip install -r requirements.txt
  1. Open appium software and start the service.
  2. Install the app under APK folder into the phone。
 adb install ./APK/OmniNotes-playDebug-6.1.0Alpha1.apk
  1. get your device address
 adb devices
  1. Start Runing
 python main.py 192.168.242.101:5555 cuda feio 8.0.0
  1. You can change "192.168.242.101:5555" to your device address.
  2. "cuda" means to use "GPU".It can be repaced by "cpu".
  3. "feio" is the app name,it can be repaced by the following word:AnyMemo;xinwen;kaiyan;xiaoqiu
  4. "8.0.0" is the Android version number of the tested mobile phone, please modify it yourself. #calculate coverage
  5. We use jacoco to calculate coverage.
  6. You can download the APP source code in here.
  1. After testing ,run this code to get the coverage.ec
 adb pull mnt/sdcard/coverage.ec C:\Users\user\Desktop\testReport\jacoco
  1. Put the EC file under “build/outputs/code coverage/connected” in the source code.
  2. Use Android Studio or Gradle to Run JacocoTestReport,then you can find the result in the "build/reports/jacoco/jacocoTestReport".

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages