Running tests
Run a test file
pipenv run test breathecode/payments/tests/urls/tests_me_service_slug_consumptionsession_hash.py
Pytest options
-v
: verbose
-vv
: more verbose
-s
: don't capture the stdout, useful when the test execution won't end.
-k
: only run test methods and classes that match the pattern or substring.
Run tests in parallel
Run tests in parallel in a module
pipenv run ptest ./breathecode/
Run coverage in parallel
Run coverage in parallel in a module
pipenv run pcov breathecode.admissions