Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: README.md

Issue 29344967: Issue 4031 - Implement tests for libadblockplus-android (Closed)
Patch Set: Applied Eyeo's codestyle Created Aug. 8, 2016, 8:26 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: README.md
diff --git a/README.md b/README.md
index d142952a682f92f0e34be81cfb1c8374a5161a5a..e396386bbc19f5e6e7d0243b8fcb50ad0bfb05cd 100644
--- a/README.md
+++ b/README.md
@@ -11,14 +11,16 @@ To update those, call:
./ensure_dependencies.py
+## Library
+
Building with Ant
------------------
### Requirements
-- [The Android SDK](http://developer.android.com/sdk)
-- [The Android NDK](https://developer.android.com/tools/sdk/ndk)
-- [Ant](http://ant.apache.org)
+* [The Android SDK](http://developer.android.com/sdk)
+* [The Android NDK](https://developer.android.com/tools/sdk/ndk)
+* [Ant](http://ant.apache.org)
### Building
@@ -39,7 +41,7 @@ Building with Maven
All 'Building with Ant' requirements and additional requirements:
-- [Maven](https://maven.apache.org)
+* [Maven](https://maven.apache.org)
### Building
@@ -49,3 +51,30 @@ In the 'libadblockplus-android' directory run:
mvn clean install [-Dandroid.sdk.path=/some/where/sdk]
This will generate *.aar library artifact in the 'target' directory.
+
+## Library tests
+
+### Requirements
+
+Make sure _Library_ requirements are present.
+
+### Building
+
+Set ANDROID_HOME environment variable to your Android SDK directory.
+
+In the 'libadblockplus-android-tests' run:
+
+ ant instrument
+
+### Testing
+
+1. Connect an Android device or start the Android Emulator.
+2. In the 'libadblockplus-android-tests' directory run:
+
+ ant instrument install test
+
+to build instrumentation tests app and perform testing or run:
+
+ ant test
+
+to run installed instrumentation tests app

Powered by Google App Engine
This is Rietveld