From fbf2d340067c3f671ad7a8961524ec15effab6c6 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 18 Jan 2018 17:24:38 +0100 Subject: [PATCH] Add unit testing instructions in README --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 28184f7b..532ceec3 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,7 @@ from the `PATH`: export PATH="$JAVA_HOME/bin:$PATH" + ### Generate Make sure your `ANDROID_HOME` variable is set to your Android SDK directory: @@ -95,9 +96,20 @@ From the project root directory, execute: This will generate the application in `dist/scrcpy/`. +### Test + +To execute unit tests: + + make test + +The server-side tests require JUnit 4: + + sudo apt install junit4 + + ## Run -Plug a device, and execute: +Plug a device, and from `dist/scrcpy/`, execute: ./scrcpy