mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2025-12-06 06:44:57 +01:00
add github test action and add pytest
This commit is contained in:
parent
c0d1cf6c51
commit
7f8250c0a6
4 changed files with 130 additions and 1 deletions
19
README.md
19
README.md
|
|
@ -63,7 +63,9 @@ Install [devbox](https://github.com/jetpack-io/devbox), which is a wrapper for n
|
|||
devbox shell
|
||||
```
|
||||
|
||||
## Unit Tests
|
||||
## Tests
|
||||
|
||||
### unittest
|
||||
|
||||
There are basic unit tests, see `unittest_extract_otp_secret_keys.py`.
|
||||
|
||||
|
|
@ -72,3 +74,18 @@ Run unit tests:
|
|||
```
|
||||
python -m unittest
|
||||
```
|
||||
|
||||
### PyTest
|
||||
|
||||
There are basic pytests, see `test_extract_otp_secret_keys.py`.
|
||||
|
||||
Run pytests:
|
||||
|
||||
```
|
||||
pytest unittest
|
||||
```
|
||||
or
|
||||
|
||||
```
|
||||
python -m pytest
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue