Merge "Add a readme with instructions on running tests"
am: 08217cbd4b
Change-Id: I654b6bf10ca75715e433d1382756e380723ae324
This commit is contained in:
24
tests/robotests/README.md
Normal file
24
tests/robotests/README.md
Normal 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.
|
Reference in New Issue
Block a user