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
You can run the incluyded tests by typing `pytest <exercisename>_test.py` on the command line from within the exercise's directory.
4
+
5
+
You can also tell Python to run the pytest module on the command line from either within the exercise directory or with a path to the exercise directory.
6
+
`python -m pytest <exercisename>_test.py` from within the exercise directory.
7
+
8
+
`python -m pytest /fully/qualified/path/to/<exercisename>/` OR `python -m pytest realtive/path/to/<exercisename>` from a non-exercise directory.
9
+
10
+
Many IDE's and code editors also have built-in spport for using PyTest to run tests.
11
+
12
+
[Visual Studio Code](https://code.visualstudio.com/docs/python/testing)
13
+
[PyCharm Professional & Community Editions](https://www.jetbrains.com/help/pycharm/pytest.html#create-pytest-test)
0 commit comments