Skip to content

Latest commit

 

History

History
45 lines (44 loc) · 1.29 KB

HOWTOBUILD.md

File metadata and controls

45 lines (44 loc) · 1.29 KB

How to Build

Clone this repository

$ git clone https://github.com/euphony-io/euphony.git
$ cd euphony/

Build from the command line

on Windows

> gradlew build

on Linux or MacOS

$ ./gradlew build
  • AAR result files: ./euphony/build/outputs/aar

Build with Android Studio

  • Click Build and Make Module

How to Unit Test

Test from the command line

on Windows

> gradlew test

on Linux or MacOS

$ ./gradlew test
  • HTML test result files: ./euphony/build/reports/tests
  • XML test result files: ./euphony/build/test-results

Test with Android Studio

  • Right-click on the test file that you want to test and Run

Success

  • Success if Expected and Actual have the same results image

Failure

  • Tests failed because the results of Expected and Actual are different
Expected : hello
Actual : hell

image