File tree 1 file changed +6
-0
lines changed
chapter-7-android-and-git-data
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## Building the app
2
+
1
3
First, download the Android SDK and make sure you have Java installed.
2
4
3
5
To build a debug app, use this command:
@@ -8,6 +10,8 @@ ANDROID_HOME=~/Android/Sdk \
8
10
./gradlew assembleDebug
9
11
```
10
12
13
+ ## Running Unit Tests
14
+
11
15
To run the unit tests, use a GitHub account which:
12
16
13
17
* does not have 2-factor auth enabled.
@@ -26,6 +30,8 @@ ANDROID_HOME=~/Android/Sdk \
26
30
This single test proves that our GitHub client Java code makes a new file inside the Jekyll repository
27
31
and then views the published post.
28
32
33
+ ## Running Espresso Tests
34
+
29
35
To run the espresso test, you will need to create a ` secrets.xml ` file inside ` app/src/main/res/values ` .
30
36
This file should contain the same username and password and look like this:
31
37
You can’t perform that action at this time.
0 commit comments