diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-26 08:16:56 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-26 08:16:56 -0500 |
commit | 1a0d55751dda29b70240e06d5264544c0d45b845 (patch) | |
tree | 86ef2462bf3793c75c4b90b726264f47320bd51c | |
parent | 38d59268b2ae83ec9ab948618c01a2d24944d5f3 (diff) | |
download | python-coveragepy-git-1a0d55751dda29b70240e06d5264544c0d45b845.tar.gz |
Change nose example to pytest example. #521
-rw-r--r-- | doc/index.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/index.rst b/doc/index.rst index 25fd1bc2..07e940f7 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -145,14 +145,15 @@ If you need more control over how your project is measured, you can use the :ref:`API <api>`. Some test runners provide coverage integration to make it easy to use -coverage.py while running tests. For example, `nose`_ has a `cover plug-in`_. +coverage.py while running tests. For example, `pytest`_ has the `pytest-cov`_ +plugin. You can fine-tune coverage.py's view of your code by directing it to ignore parts that you know aren't interesting. See :ref:`source` and :ref:`excluding` for details. -.. _nose: http://nose.readthedocs.io -.. _cover plug-in: https://nose.readthedocs.io/en/latest/plugins/cover.html +.. _pytest: http://doc.pytest.org +.. _pytest-cov: http://pytest-cov.readthedocs.io .. _contact: @@ -176,7 +177,7 @@ GitHub. `I can be reached`_ in a number of ways. I'm happy to answer questions about using coverage.py. -.. _I can be reached: http://nedbatchelder.com/site/aboutned.html +.. _I can be reached: http://nedbatchelder.com/site/aboutned.html |