The default value of `use_testrunner` is 1 and default behavior is to use `BazelTestRunner`, if a user needs to use this property, he would set `use_testrunner = 0` to use `GoogleTestRunner`.

Maybe we should make it more clear. ;)
 Sorry, what I said above was totally wrong. The GoogleTestRunner doesn't exist in Bazel code. Setting `use_testrunner = 0` will just run the test java binary without any test runner. We should definitely update the document!
 PR?
On יום ג׳, 7 ביוני 2016 at 17:01 Yun Peng notifications@github.com wrote:

> Sorry, what I said above was totally wrong. The GoogleTestRunner doesn't
> exist in Bazel code. Setting use_testrunner = 0 will just run the test
> java binary without any test runner. We should definitely update the
> document!
> 
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> https://github.com/bazelbuild/bazel/issues/1345#issuecomment-224289479,
> or mute the thread
> https://github.com/notifications/unsubscribe/ABUIF5huEY8z07V-SIbEoCjaBjXtbjjqks5qJXm2gaJpZM4Iv4Fh
> .
 Yeah, that would be nice. :)

Documentation- java_test use_testrunner mistake
Hi,
I think the documentation of the java_test use_testrunner property is mistaken.
It talks about `com.google.testing.junit.runner.GoogleTestRunner` while I think that was superseded by `BazelTestRunner` which is also mentioned which adds to the confusion.
I think the first mention should also change to `BazelTestRunner`.
Hope I'm not talking gibberish.

src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java
src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java
index cf195562209cf9..fc40911439b36f 100644
--- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java
+++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java
@@ -290,7 +290,7 @@ generated by the wrapper script includes the name of the main class followed by
           .add(attr("jvm_flags", STRING_LIST))
           /* <!-- #BLAZE_RULE($base_java_binary).ATTRIBUTE(use_testrunner) -->
           Use the
-          <code>com.google.testing.junit.runner.GoogleTestRunner</code> class as the
+          <code>com.google.testing.junit.runner.BazelTestRunner</code> class as the
           main entry point for a Java program.
 
           You can use this to override the default
