Closed OpenBagTwo closed 9 months ago
Btw, this is what it looks like to run $ gsb test
when GSB is installed through pipx
:
$ gsb test
============================================ test session starts ============================================
platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/antar
plugins: cov-4.1.0
collected 190 items
.local/pipx/venvs/gsb/lib/python3.11/site-packages/gsb/test/test_backup.py ....................x... [ 12%]
.local/pipx/venvs/gsb/lib/python3.11/site-packages/gsb/test/test_delete.py ......x.................. [ 25%]
.local/pipx/venvs/gsb/lib/python3.11/site-packages/gsb/test/test_export.py .......................... [ 39%]
......................x [ 51%]
.local/pipx/venvs/gsb/lib/python3.11/site-packages/gsb/test/test_history.py ......................... [ 64%]
. [ 65%]
.local/pipx/venvs/gsb/lib/python3.11/site-packages/gsb/test/test_init.py ............................ [ 80%]
........ [ 84%]
.local/pipx/venvs/gsb/lib/python3.11/site-packages/gsb/test/test_rewind.py .......................... [ 97%]
.... [100%]
====================================== 187 passed, 3 xfailed in 12.88s ======================================
GIVEN Alex wants to ensure that the version of gsb they've installed is working with their system AND she has installed the gsb with the
[test]
extras (i.e.pipx install gsb[test]
) WHEN she opens a terminal and run the command:THEN gsb's unit tests suite will be run and give Alex a report on which tests are passing, failing and being skipped
SO that Alex can know if gsb isn't working for some reason
Notes
This is mostly because I can't figure out how to have
pytest
run against a package installed viapipx
(#88)