Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage xml isn't created #319

Open
jokiefer opened this issue Mar 12, 2021 · 1 comment
Open

coverage xml isn't created #319

jokiefer opened this issue Mar 12, 2021 · 1 comment

Comments

@jokiefer
Copy link

Environment

  • Python version: 3.7
  • django-nose version: 1.4.7

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',
]
  1. 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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant