Is there an option to tell bazel test not to cache output

I have a long-running test which i want to monitor while it goes, but bazel caches all output and dumps it only in the end. Is there any way to change this?

1 answer

  • answered 2018-07-11 06:39 László

    You can stream the test's output to stdout:

    bazel test --test_output=streamed //foo:bar
    

    The drawback is, Bazel runs all tests serially in this case.