Skip to content

Commit d2d975d

Browse files
committed
Reworded titles of some clear how-to guides
Files retitled: assert.rst bash-completion.rst capture.rst existingtestsuite.rst mark.rst monkeypatch.rst nose.rst parametrize.rst plugins.rst skipping.rst tmpdir.rst usage.rst
1 parent 4a19533 commit d2d975d

12 files changed

+18
-18
lines changed

doc/en/assert.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
The writing and reporting of assertions in tests
2+
How to write and report assertions in tests
33
==================================================
44

55
.. _`assertfeedback`:

doc/en/bash-completion.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
.. _bash_completion:
33

4-
Setting up bash completion
5-
==========================
4+
How to set up bash completion
5+
=============================
66

77
When using bash as your shell, ``pytest`` can use argcomplete
88
(https://argcomplete.readthedocs.io/) for auto-completion.

doc/en/capture.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
.. _`captures`:
33

4-
Capturing of the stdout/stderr output
4+
How to capture stdout/stderr output
55
=========================================================
66

77
Default stdout/stderr/stdin capturing behaviour

doc/en/existingtestsuite.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _existingtestsuite:
22

3-
Using pytest with an existing test suite
4-
===========================================
3+
How to use pytest with an existing test suite
4+
==============================================
55

66
Pytest can be used with most existing test suites, but its
77
behavior differs from other test runners such as :ref:`nose <noseintegration>` or

doc/en/mark.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _mark:
22

3-
Marking test functions with attributes
4-
======================================
3+
How to mark test functions with attributes
4+
===========================================
55

66
By using the ``pytest.mark`` helper you can easily set
77
metadata on your test functions. You can find the full list of builtin markers

doc/en/monkeypatch.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Monkeypatching/mocking modules and environments
2+
How to monkeypatch/mock modules and environments
33
================================================================
44

55
.. currentmodule:: _pytest.monkeypatch

doc/en/nose.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. _`noseintegration`:
22

3-
Running tests written for nose
3+
How to run tests written for nose
44
=======================================
55

66
``pytest`` has basic support for running tests written for nose_.

doc/en/parametrize.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
.. _`parametrize-basics`:
88

9-
Parametrizing fixtures and test functions
9+
How to parametrize fixtures and test functions
1010
==========================================================================
1111

1212
pytest enables test parametrization at several levels:

doc/en/plugins.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
.. _`extplugins`:
33
.. _`using plugins`:
44

5-
Installing and Using plugins
6-
============================
5+
How to install and use plugins
6+
===============================
77

88
This section talks about installing and using third party plugins.
99
For writing your own plugins, please refer to :ref:`writing-plugins`.

doc/en/skipping.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
.. _skipping:
44

5-
Skip and xfail: dealing with tests that cannot succeed
6-
======================================================
5+
How to use skip and xfail to deal with tests that cannot succeed
6+
=================================================================
77

88
You can mark test functions that cannot be run on certain platforms
99
or that you expect to fail so pytest can deal with them accordingly and

0 commit comments

Comments
 (0)