diff --git a/README.md b/README.md index 8b404e5..0dcc361 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/extract_otp_secret_keys.code-workspace b/extract_otp_secret_keys.code-workspace index 362d7c2..fa59c7e 100644 --- a/extract_otp_secret_keys.code-workspace +++ b/extract_otp_secret_keys.code-workspace @@ -3,5 +3,8 @@ { "path": "." } - ] + ], + "settings": { + "python.testing.pytestEnabled": true + } } \ No newline at end of file