Skip to content
Snippets Groups Projects
Commit 5fc477a9 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

Configuration VSC, setting.json:

Modifier les arguments suivant l'application.
parent 32229684
No related branches found
No related tags found
No related merge requests found
......@@ -510,8 +510,22 @@ enter this command in your Windows command prompt:
> pyinstaller -wF my_program.py
Tests avec unittest:
Tests unitaires avec unittest:
--------------------
Configuration VSC, setting.json:
Modifier les arguments suivant l'application.
"python.unitTest.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test_*.py"
],
"python.unitTest.pyTestEnabled": false,
"python.unitTest.nosetestsEnabled": false,
"python.unitTest.unittestEnabled": true,
Voir: https://docs.python.org/3.7/library/unittest.html?highlight=unittest
Les fichiers de tests sont sous tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment