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

Side by Side Diff: README.md

Issue 29347154: Issue 4206 - Add opportunity to run specific test/method only (Closed)
Patch Set: Created June 30, 2016, 7:39 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 Adblock Plus Library for Android 1 Adblock Plus Library for Android
2 ======================== 2 ========================
3 3
4 An Android library project that runs a proxy to block ads. 4 An Android library project that runs a proxy to block ads.
5 5
6 Updating the dependencies 6 Updating the dependencies
7 ------------------------- 7 -------------------------
8 8
9 Adblock Plus Library for Android has dependencies that aren't in this repository . 9 Adblock Plus Library for Android has dependencies that aren't in this repository .
10 To update those, call: 10 To update those, call:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 1. Connect an Android device or start the Android Emulator. 71 1. Connect an Android device or start the Android Emulator.
72 2. In the 'libadblockplus-android-tests' directory run: 72 2. In the 'libadblockplus-android-tests' directory run:
73 73
74 ant instrument install test 74 ant instrument install test
75 75
76 to build instrumentation tests app and perform testing or run: 76 to build instrumentation tests app and perform testing or run:
77 77
78 ant test 78 ant test
79 79
80 to run installed instrumentation tests app 80 to run installed instrumentation tests app.
81
82 To run specific **test** run:
83
84 ant testOnly -DtestClass=full.test.class.name
85
86 For example:
87
88 ant testOnly -DtestClass=org.adblockplus.libadblockplus.tests.NotificationTe st
89
90 To run specific **test method** run:
91
92 ant testOnly -DtestClass=full.test.class.name#testMethod
93
94 For example:
95
96 ant testOnly -DtestClass=org.adblockplus.libadblockplus.tests.NotificationTe st#testAddNotification
OLDNEW
« no previous file with comments | « no previous file | libadblockplus-android-tests/build.xml » ('j') | libadblockplus-android-tests/build.xml » ('J')

Powered by Google App Engine
This is Rietveld