Add doctest support

This commit is contained in:
Andras Schmelczer 2022-07-04 14:22:00 +02:00
parent 411af60e57
commit 134fc780d4
5 changed files with 10 additions and 20 deletions

4
.vscode/tasks.json vendored
View file

@ -20,9 +20,9 @@
{
"label": "Test",
"type": "shell",
"command": "source .env/bin/activate && python3 -m pytest .",
"command": "source .env/bin/activate && python3 -m pytest . --doctest-modules",
"windows": {
"command": ".env\\bin\\activate.bat; python3 -m pytest ."
"command": ".env\\bin\\activate.bat; python3 -m pytest . --doctest-modules"
},
"group": "test",
"presentation": {