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

Update coverage.rst to use pytest for coverage #19

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

ericholscher
Copy link
Owner

@ericholscher ericholscher commented 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.

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).
@ericholscher ericholscher merged commit 0c62fa2 into master Jan 13, 2025
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 this pull request may close these issues.

coverage.rst is out of date
1 participant