Closed SJLC closed 1 year ago
Maintenance on the nose test framework stopped about 6 years ago, with devs advising users to find another framework[1]
pytest on the other hand has a thriving community, and seems like a nice modern alternative to nose.
Note that tests are no longer going to be run from 'setup.py test' per current pythonic best practices[2], but rather from tox
tox -e py36 testenv
Also note the coverage exclude rule in tox.ini includes an exclusion for api.py since that was excluded from the old nosetests report.
[1] https://nose.readthedocs.io/en/latest/#note-to-users [2] https://docs.pytest.org/en/latest/explanation/goodpractices.html#do-not-run-via-setuptools
Thanks @SJLC for the PR. Had to do this as part of https://github.com/globality-corp/flake8-logging-format/pull/46, so going to close this PR.
Maintenance on the nose test framework stopped about 6 years ago, with devs advising users to find another framework[1]
pytest on the other hand has a thriving community, and seems like a nice modern alternative to nose.
Note that tests are no longer going to be run from 'setup.py test' per current pythonic best practices[2], but rather from tox
tox -e py36 testenv
Also note the coverage exclude rule in tox.ini includes an exclusion for api.py since that was excluded from the old nosetests report.
[1] https://nose.readthedocs.io/en/latest/#note-to-users [2] https://docs.pytest.org/en/latest/explanation/goodpractices.html#do-not-run-via-setuptools