| ... | ... | @@ -73,6 +73,10 @@ def test_say_hello(): |
|
|
|
|
|
|
|
This is simply running the function and checking if the result is as expected.
|
|
|
|
|
|
|
|
To run all the tests, navigate to the root of your project and run `pytest`. Everything inside the `tests` folder will be executed, and a report will be shown:
|
|
|
|
To run all the tests, navigate to the root of your project and run `pytest -v`.
|
|
|
|
|
|
|
|
 |
|
|
\ No newline at end of file |
|
|
|
Everything inside the `tests` folder will be executed, and a report will be shown:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
For this case, two tests were present in the `test_examples.py` file. |
|
|
\ No newline at end of file |