Merge "Update JUnit test readme to include atest command." am: 29c4b84312

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12888277

Change-Id: I4e19a3a763e58a57c1310f16cc2e2f5b0c5bdfa8
This commit is contained in:
Jeremy Goldman
2020-10-21 04:17:40 +00:00
committed by Automerger Merge Worker

View File

@@ -1,3 +1,11 @@
The simplest way to run all SettingsUnitTests is with atest
$ atest SettingsUnitTests
A single class can also be tested with the following command
$ atest -c <YourClassName>
// The following instrutions show how to run the test suite using make + adb //
To build the tests you can use the following command at the root of your android source tree To build the tests you can use the following command at the root of your android source tree
$ make SettingsUnitTests $ make SettingsUnitTests