mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-06 06:44:57 +01:00
enable pytest in vscode and mention it in README
This commit is contained in:
parent
fb4cee14da
commit
fbde835601
2 changed files with 13 additions and 1 deletions
|
|
@ -122,3 +122,12 @@ Run tests:
|
|||
```
|
||||
python -m unittest
|
||||
```
|
||||
|
||||
### VSCode Setup
|
||||
|
||||
Setup for running the tests in VSCode.
|
||||
|
||||
1. Open VSCode command palette (Ctrl-Shift-P)
|
||||
2. Type command "Python: Configure Tests"
|
||||
3. Choose unittest or pytest. (pytest is recommended, both are supported)
|
||||
4. Set ". Root" directory
|
||||
|
|
|
|||
|
|
@ -3,5 +3,8 @@
|
|||
{
|
||||
"path": "."
|
||||
}
|
||||
]
|
||||
],
|
||||
"settings": {
|
||||
"python.testing.pytestEnabled": true
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue