File tree 1 file changed +21
-0
lines changed
chapter-7-android-and-git-data
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -25,3 +25,24 @@ ANDROID_HOME=~/Android/Sdk \
25
25
26
26
This single test proves that our GitHub client Java code makes a new file inside the Jekyll repository
27
27
and then views the published post.
28
+
29
+ To run the espresso test, you will need to create a ` secrets.xml ` file inside ` app/src/main/res/values ` .
30
+ This file should contain the same username and password and look like this:
31
+
32
+ ```
33
+ <?xml version="1.0" encoding="utf-8"?>
34
+ <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
35
+ <string name="github_helper_username">BurningOnUp</string>
36
+ <string name="github_helper_password">somethingOrOther</string>
37
+ </resources>
38
+ ```
39
+
40
+ Then, to run the tests, use this command:
41
+
42
+ ```
43
+ GITHUB_HELPER_USERNAME=BurningOnUp \
44
+ GITHUB_HELPER_PASSWORD=somethingOrOther \
45
+ JAVA_HOME=~/bin/jdk1.7.0_79 \
46
+ ANDROID_HOME=~/Android/Sdk \
47
+ ./gradlew connectedTest
48
+ ```
You can’t perform that action at this time.
0 commit comments