cool-easter-32542
08/08/2024, 11:19 PMpants test with the command line below and pytest would generate an XML file for each test it executed:
./pants test ... --pytest-junit-xml-dir=dist/junitxml ...
This is useful to have for continuous integration systems. The XML files are parsed and the number of tests executed/passed/failed are shown by the C.I. system.
However, pants eliminated that option (not sure when, but 2.17.0 no longer had it).
The closest equivalent I could find in 2.21.1 is this:
pants test ... --pytest-args="--junit-xml=dist/junitxml"
Unfortunately, it does not generate any XML file or even creates the junitxml directory
Is there a different option that works in v2.21.1?
pantsbuild/pantscool-easter-32542
08/09/2024, 12:16 AM