Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b1ab13d authored by Fan Zhang's avatar Fan Zhang Committed by android-build-merger
Browse files

Merge "Add a readme with instructions on running tests" am: 08217cbd am: 931504bb

am: 45f3c5b2

Change-Id: Ia45d584ab37ae15b4620f00199a477d913040295
parents 179fd476 45f3c5b2
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
# 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.