You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/en/getting-started.rst
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ That's it. You can execute the test function now::
66
66
test_sample.py:5: AssertionError
67
67
======= 1 failed in 0.12 seconds ========
68
68
69
-
``pytest`` found the ``test_answer`` function by following :ref:`standard test discovery rules <test discovery>`, basically detecting the ``test_`` prefixes. We got a failure report because our little ``func(3)`` call did not return ``5``.
69
+
We got a failure report because our little ``func(3)`` call did not return ``5``.
70
70
71
71
.. note::
72
72
@@ -79,6 +79,12 @@ That's it. You can execute the test function now::
``pytest`` will run all files in the current directory and its subdirectories of the form test_*.py or \*_test.py. More generally, it follows :ref:`standard test discovery rules <test discovery>`.
0 commit comments