From 83e7581690913e43594f08537977054c306e2d5c Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Tue, 31 Oct 2017 12:57:02 -0700 Subject: [PATCH] Add a readme with instructions on running tests Test: is a test Change-Id: I5f3a4745a1b2376259b2aab8df58d8660c3fe0bc --- tests/robotests/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/robotests/README.md diff --git a/tests/robotests/README.md b/tests/robotests/README.md new file mode 100644 index 00000000000..648f1af77d8 --- /dev/null +++ b/tests/robotests/README.md @@ -0,0 +1,24 @@ +# Running Settings Robolectric tests + + +## The full suite +``` +$ croot +$ make RunSettingsRoboTests +``` + +## Running a single test class + +``` +$ croot +$ make RunSettingsRoboTests ROBOTEST_FILTER= +``` + +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.