Skip to content

Commit

Permalink
Revised and refreshed help.md and tests.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
BethanyG committed Sep 1, 2021
1 parent 2f35306 commit c09b714
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
10 changes: 6 additions & 4 deletions exercises/shared/.docs/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

Below are some resources for getting help if you run into trouble:

- [Exercism on Gitter](https://gitter.im/exercism/home) join the Python room for Python-related questions or problems.
- [The PSF](https://www.python.org) hosts Python downloads, documentation, and community resources.
- [Python Community on Discord](https://pythondiscord.com/) is a very helpful and active community.
- [#python on Libera.chat](https://www.python.org/community/irc/)
- [#python on Libera.chat](https://www.python.org/community/irc/) this is where the cored developers for the language hang out and get work done.
- [Exercism on Gitter](https://gitter.im/exercism/home) join the Python room for Python-related questions or problems.
- [/r/learnpython/](https://www.reddit.com/r/learnpython/) is a subreddit designed for Python learners.
- [Python Community Forums](https://discuss.python.org/)
- [Pythontutor](http://pythontutor.com/) for stepping through small code snippets visually.
- [The PSF Website](https://www.python.org) hosts Python downloads, documentation, and community resources.

Additionally, [StackOverflow](http://stackoverflow.com/questions/tagged/python) is a good spot to search for your problem/question to see if it has been answered already. If not - you can always [ask](https://stackoverflow.com/help/how-to-ask) or [answer](https://stackoverflow.com/help/how-to-answer) someone else's question.

Additionally, [StackOverflow](http://stackoverflow.com/questions/tagged/python) is a good spot to search for your problem/question to see if it has been answered already.
If not - you can always [ask](https://stackoverflow.com/help/how-to-ask) or [answer](https://stackoverflow.com/help/how-to-answer) someone else's question.
18 changes: 9 additions & 9 deletions exercises/shared/.docs/tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ You can also tell Python to run the pytest module on the command line from eithe

`python -m pytest /fully/qualified/path/to/<exercisename>/` OR `python -m pytest realtive/path/to/<exercisename>` from a non-exercise directory.

Many IDE's and code editors also have built-in spport for using PyTest to run tests.
Many IDE's and code editors also have built-in support for using PyTest to run tests.

[Visual Studio Code](https://code.visualstudio.com/docs/python/testing)
[PyCharm Professional & Community Editions](https://www.jetbrains.com/help/pycharm/pytest.html#create-pytest-test)
[Atom](https://atom.io/packages/atom-python-test)
[Spyder](https://www.spyder-ide.org/blog/introducing-unittest-plugin/)
[Sublime](https://github.com/kaste/PyTest)
[vim-test](https://github.com/vim-test/vim-test)
- [Visual Studio Code](https://code.visualstudio.com/docs/python/testing)
- [PyCharm Professional & Community Editions](https://www.jetbrains.com/help/pycharm/pytest.html#create-pytest-test)
- [Atom](https://atom.io/packages/atom-python-test)
- [Spyder](https://www.spyder-ide.org/blog/introducing-unittest-plugin/)
- [Sublime](https://github.com/kaste/PyTest)
- [vim-test](https://github.com/vim-test/vim-test)

See the [Python tests page](https://exercism.io/tracks/python/tests) for more information.
See the [Python tests page](https://github.com/exercism/python/blob/main/docs/TESTS.md) for more information.

### Common `pytest` options

- `-v` : enable verbose output.
- `-x` : stop running tests on first failure.
- `--ff` : run failures from previous test before running other test cases.

For other options, see `python -m pytest -h`. PyTest documentation can be found [here](https://docs.pytest.org/en/6.2.x/getting-started.html).
For other options, see `python -m pytest -h`. PyTest documentation can be found [here](https://docs.pytest.org/en/latest/getting-started.html).

0 comments on commit c09b714

Please sign in to comment.