Update getting-started.rst
In the first example, the point that the test function and .py file should be prefixed or suffixed with 'test' is missing. It would be better if it is mentioned in the first example itself. So Added an extra phrase emphasizing to name the file as test_sample.py
This commit is contained in:
parent
4e7a69d45a
commit
430ceb35c6
|
@ -35,7 +35,7 @@ Install ``pytest``
|
|||
Create your first test
|
||||
----------------------------------------------------------
|
||||
|
||||
Create a simple test function with just four lines of code:
|
||||
Create a Python file test_sample.py and write a simple test function with just four lines of code:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
|
Loading…
Reference in New Issue