jazzband / django-nose

Django test runner using nose
http://pypi.python.org/pypi/django-nose
BSD 3-Clause "New" or "Revised" License
882 stars 234 forks source link

coverage xml isn't created #319

Open jokiefer opened 3 years ago

jokiefer commented 3 years ago

Environment

Steps to Reproduce

  1. Configure django nose in settings.py:
    TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
    NOSE_ARGS = [
    '--with-xunit',
    '--xunit-file=xunit-result.xml',
    '--with-coverage',
    '--cover-erase',
    '--cover-xml',
    '--cover-xml-file=coverage-report.xml',
    ]
  2. run command python manage.py test --where "tests/unit_tests/"

Expected Behavior

coverage-report.xml is created properly

Observed Behavior

coverage-report.xml isn't created properly. Instead of creating the coverage-report.xml file there is still a .coverage temp file.

jokiefer commented 3 years ago

If i run the command without the --where parameter it works properly.