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.rst is out of date #18

Closed
DaveB93 opened this issue Nov 24, 2023 · 0 comments · Fixed by #19
Closed

coverage.rst is out of date #18

DaveB93 opened this issue Nov 24, 2023 · 0 comments · Fixed by #19

Comments

@DaveB93
Copy link

DaveB93 commented Nov 24, 2023

it tells you how to integrate nose with django for coverage, which seems like a great idea, but nose has been unmaintained since 2015. there's a nose 2, but not as far as i can see a django-nose2.

if you follow those instructions you end up getting this issue nose-devs/nose#1099

ericholscher added a commit that referenced this issue Jan 13, 2025
Fixes #18

Update `coverage.rst` to replace `nose` with `pytest` for coverage integration.

* Replace instructions for integrating `nose` with Django for coverage with `pytest`.
* Update configuration examples to use `pytest`, `pytest-django`, and `pytest-cov`.
* Add instructions for installing `pytest`, `pytest-django`, and `pytest-cov` using `pip`.
* Update `settings.py` and `pytest.ini` configuration examples.
* Update references to `nose` and `django-nose` with `pytest` and `pytest-django`.
* Update coverage report options to use `pytest` syntax.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ericholscher/django-testing-docs/issues/18?shareId=XXXX-XXXX-XXXX-XXXX).
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

Successfully merging a pull request may close this issue.

1 participant