| ... | ... | @@ -31,7 +31,8 @@ So I guess it's okay if we have a few guidelines. The [Google Python Style Guide |
|
|
|
- Follow the "Google Style" for docstrings (reStructuredText format).
|
|
|
|
|
|
|
|
# Testing
|
|
|
|
As much as possible, we should write automatic tests for our code using `pytest`
|
|
|
|
As much as possible, we should write automatic tests for our code using `pytest`.
|
|
|
|
Use pip to get it: `pip install pytest`
|
|
|
|
|
|
|
|
Tests should be located in a `tests` directory, at the root of your repository. In this directory, create a file for each module of your package, name following the convention `test_modulename.py`.
|
|
|
|
|
| ... | ... | |
| ... | ... | |