Include doctests in the test suite
- use xdoctest to validate all code snippets in docstrings - add xdoctest to the nox session "test"
This commit is contained in:
parent
48fe2f6879
commit
126dcf7c39
4 changed files with 58 additions and 7 deletions
|
|
@ -53,6 +53,7 @@ wemake-python-styleguide = "^0.14.1" # flake8 plug-in
|
|||
packaging = "^20.4" # used to test the packaged version
|
||||
pytest = "^6.0.1"
|
||||
pytest-cov = "^2.10.0"
|
||||
xdoctest = { version="^0.13.0", extras=["optional"] }
|
||||
|
||||
[tool.poetry.scripts]
|
||||
umd = "urban_meal_delivery.console:main"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue