I\'m running E2E test using some bazel test target (the scala flavour of java_test).
In Maven I used to dump logs to target/logs folder th
So digging through bazel docs I found this: https://docs.bazel.build/versions/master/test-encyclopedia.html#initial-conditions
Seems like I can read env variable "TEST_UNDECLARED_OUTPUTS_DIR" and it will give me a writable path. Anything I write there would be zipped and saved under ./bazel-out/darwin-fastbuild/testlogs/
Pretty cool!