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: fixed "B" to "b" (Fhd) Created Sept. 13, 2016, 5:57 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
« no previous file with comments | « .hgignore ('k') | libadblockplus-android-tests/AndroidManifest.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « .hgignore ('k') | libadblockplus-android-tests/AndroidManifest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld