Add a readme with instructions on running tests

Test: is a test
Change-Id: I5f3a4745a1b2376259b2aab8df58d8660c3fe0bc
This commit is contained in:
Fan Zhang
2017-10-31 12:57:02 -07:00
parent 1e5cd4c3df
commit 83e7581690

24
tests/robotests/README.md Normal file
View File

@@ -0,0 +1,24 @@
# Running Settings Robolectric tests
## The full suite
```
$ croot
$ make RunSettingsRoboTests
```
## Running a single test class
```
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
```
For example:
```
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
```
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches
multiple file names, all of them will be executed.