|
1 | 1 | # Firebase Test Lab Plugin for Android |
2 | | -[](http://kotlinlang.org/) |
| 2 | +[](http://kotlinlang.org/) |
3 | 3 | [](https://github.com/piotrmadry/FirebaseTestLab-Android/blob/master/LICENSE) |
4 | 4 |
|
5 | | - |
6 | | - |
7 | 5 | ## Introduction |
8 | | -Firebase is actually the most popular developer tool platform, wchich handles almost every aspect of the app. It also gives possibility to run Android Tests on physical or virtual devices hosted in a Google data center through [Firebase Test Lab](https://firebase.google.com/docs/test-lab/). In order to fully exploit the potential of this tool I've created plugin to simplify process of creating tests configurations. It allows to run tests locally as well as on you CI server. |
| 6 | +Plugin for which integrates Firebase Test Lab with Android Project. Simplify running Android Tests on Firebase platform locally as well as on using Continuous integration. |
9 | 7 |
|
10 | 8 | ### Contributors |
11 | 9 | - [Jacek Marchwicki](https://github.com/jacek-marchwicki) |
12 | 10 |
|
13 | 11 | #### Available features |
| 12 | + |
14 | 13 | - Automatic installation of `gcloud` command line tool |
15 | 14 | - Creating tasks for testable `buildType`[By default it is `debug`. If you want to change it use `testBuildType "buildTypeName"`] |
16 | | -- Creating tasks for every defined device and configuration separetly [ including Instrumented / Robo tests ] |
| 15 | +- Creating tasks for every defined device and configuration separately [ including Instrumented / Robo tests ] |
17 | 16 | - Creating tasks which runs all configurations at once |
18 | 17 | - Ability to download tests results to specific location |
19 | 18 | - Ability to clear directory inside bucket before test run |
| 19 | +- Instrumented tests sharding |
20 | 20 |
|
21 | 21 | #### Benefits |
| 22 | + |
22 | 23 | - Readability |
23 | 24 | - Simplicity |
24 | 25 | - Remote and Local Testing |
25 | 26 | - Compatible with Gradle 3.0 |
| 27 | +- Instrumented Tests sharding for parallel test execution |
26 | 28 |
|
27 | 29 | #### Setup |
28 | 30 |
|
@@ -120,6 +122,9 @@ firebaseTestLab { |
120 | 122 |
|
121 | 123 | // If you are using ABI splits you can remove testing universal APK |
122 | 124 | // testUniversalApk = false |
| 125 | + |
| 126 | + // For instrumented test you can specify number of shards, which allows to split all the tests for [numShards] times and execute them in parallel |
| 127 | + // numShards = 4 |
123 | 128 |
|
124 | 129 | // You can set timeout (in seconds) for test |
125 | 130 | // timeout = 6000 |
|
0 commit comments