Pass command line arguments to nose via “python setup.py test”
问题 Package Settings I have built a Python package which uses nose for testing. Therefore, setup.py contains: .. test_suite='nose.collector', tests_require=['nose'], .. And python setup.py test works as expected: running test ... ---------------------------------------------------------------------- Ran 3 tests in 0.065s OK Running with XUnit output Since I'm using Jenkins CI, I would like to output the nose results to JUnit XML format: nosetests <package-name> --with-xunit --verbose However,