JUnit reporting with nose2

python

#1

Nose2 for python has a JUnitXMLFormatter plugin which works fine, but the only way I can find to configure it is via our nose2.cfg file. However, you can only use strings in that file and no environment variables so I can’t get the XML file to export to the $CIRCLE_TEST_RESULTS directory.

Is there an alternative method or do I just need to use a mv command?


#2

You can either use something like sed to pass in the ENVAR during the build, or use mv like you mentioned.


#3