.noserc
[nosetests]
with-xunit
Runnig the nosetest using the following command
nosetests -w ./test/unit_test
When I run the test using nosetests it does not create a nosetests.xml file. But if I run the command below it does generate the nosetests.xml file.
nosetests -w ./test/unit_test --with-xunit
Not sure why it is not reading the .noserc file when I run nosetests.
You can either have a .noserc
file in your user/home directory, or you can have a file of the same format in your project directory under the name setup.cfg
Adding the configuration file to the home directory did the trick.
~/.noserc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With