Bazel docs: Fix command how to run a single test
Also add an example for this. Change-Id: I375431fdf49175ec5bce8733ba71d8b08e3258ac Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
parent
0b6b8747fc
commit
d31903c9e4
@ -194,7 +194,13 @@ The WAR file will be placed in:
|
||||
Debugging tests:
|
||||
|
||||
----
|
||||
bazel test --test_output=streamed --test_filter=com.gerrit.TestClass.testMethod //...
|
||||
bazel test --test_output=streamed --test_filter=com.gerrit.TestClass.testMethod testTarget
|
||||
----
|
||||
|
||||
Debug test example:
|
||||
|
||||
----
|
||||
bazel test --test_output=streamed --test_filter=com.google.gerrit.acceptance.api.change.ChangeIT.getAmbiguous //gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/api/change:api_change
|
||||
----
|
||||
|
||||
To run a specific test group, e.g. the rest-account test group:
|
||||
|
Loading…
Reference in New Issue
Block a user