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 that was created during test time, and then if something failed - I could have looked in this folder and find the logs.
In bazel - what path can I put in my test logs configuration so it would be writable and conveniently available upon test finish / test failure?
I know that the java.io.tmp
dir is writable but gets deleted immediately after test finishes.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…