I'm running `pants test` in CI and I want to get t...
# general
m
I'm running
pants test
in CI and I want to get the list of failed test in a structured output, but also have the dynamic UI in CI. Is it possible?
f
--test-xml-dir
will output junit.xml format structured output
👍 1
b
This is handy. I notice it isn't in Pants docs (or Junit docs). Where is a good place it can be added to benefit our users?
f
It is a Pants advanced option.
./pants help-advanced test
shows it. Are we not exposing advanced options in the docs?
b
@hundreds-father-404 do you know why this doesn't show up in the docs?
h
b
I can see how it's implicit to
Copy code
[test]
xml_dir = "dist/test_results"
but for a newcomer it's not obvious that a
--test-xml-dir
flag is available and site search doesn't find it.