bforsbe / OccuPy

GNU General Public License v3.0
17 stars 4 forks source link

template tests with pytest #6

Closed alisterburt closed 2 years ago

alisterburt commented 2 years ago

pip install pytest then pytest in the root of the repo

(OccuPy) ➜  OccuPy git:(tests) ✗ pytest      
================================================================================ test session starts ================================================================================
platform darwin -- Python 3.10.6, pytest-7.1.3, pluggy-1.0.0
rootdir: /Users/alisterburt/programming/OccuPy, configfile: setup.cfg
collected 2 items                                                                                                                                                                   

tests/test_something.py ..                                                                                                                                                    [100%]

================================================================================= 2 passed in 0.02s =================================================================================