HELP.md (2651B)
1 # Help 2 3 ## Running the tests 4 5 To run the included *tests*, run the test file using the `pytest` module, replacing `{exercise_name}`: 6 7 ```bash 8 $ python3 -m pytest {exercise_name}_test.py 9 ``` 10 11 Many IDE's and code editors have built-in support for using Pytest to run tests; check them out [here](https://github.com/exercism/python/blob/main/docs/TOOLS.md#editors-and-ides). 12 13 For more information about running tests using `pytest`, checkout our [Python testing guide](https://github.com/exercism/python/blob/main/docs/TESTS.md#pytest). 14 15 ### Common pytest options 16 17 - `-v` : enable verbose output. 18 - `-x` : stop running tests on first failure. 19 - `--ff` : run failures from previous test before running other test cases. 20 21 For other options, see `python3 -m pytest -h`. 22 23 ## Submitting your solution 24 25 You can submit your solution using the `exercism submit matrix.py` command. 26 This command will upload your solution to the Exercism website and print the solution page's URL. 27 28 It's possible to submit an incomplete solution which allows you to: 29 30 - See how others have completed the exercise 31 - Request help from a mentor 32 33 ## Need to get help? 34 35 If you'd like help solving the exercise, check the following pages: 36 37 - The [Python track's documentation](https://exercism.org/docs/tracks/python) 38 - [Exercism's support channel on gitter](https://gitter.im/exercism/support) 39 - The [Frequently Asked Questions](https://exercism.org/docs/using/faqs) 40 41 Should those resources not suffice, you could submit your (incomplete) solution to request mentoring. 42 43 Below are some resources for getting help if you run into trouble: 44 45 - [The PSF](https://www.python.org) hosts Python downloads, documentation, and community resources. 46 - [Python Community on Discord](https://pythondiscord.com/) is a very helpful and active community. 47 - [#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. 48 - [Exercism on Gitter](https://gitter.im/exercism/home) join the Python room for Python-related questions or problems. 49 - [/r/learnpython/](https://www.reddit.com/r/learnpython/) is a subreddit designed for Python learners. 50 - [Python Community Forums](https://discuss.python.org/) 51 - [Pythontutor](http://pythontutor.com/) for stepping through small code snippets visually. 52 53 54 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. 55 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.