Switch to pytest as the test runner.
Review Request #12487 — Created July 25, 2022 and submitted
This updates the codebase to use
pytest
instead ofnose
for running
unit tests. This helps us with testing on newer versions of Python, and
is consistent with our other codebases.The old
tests/runtests.py
script will now wrappytest
.
Ran unit tests on all supported versions of Python.
- Change Summary:
-
Restored
runtests.py
, having it wrappytest
. - Description:
-
This updates the codebase to use
pytest
instead ofnose
for runningunit tests. This helps us with testing on newer versions of Python, and is consistent with our other codebases. + + The old
tests/runtests.py
script will now wrappytest
. - Commits:
-
Summary ID bf17f12857eb8ecf1a548a9636a084536a925cc4 309d4af8135b8a9cd57c83287e109d6f24d3d832 - Diff:
-
Revision 2 (+16 -56)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
Actually added back
runtests.py
. - Commits:
-
Summary ID 309d4af8135b8a9cd57c83287e109d6f24d3d832 99b9714e12ac1ebc9982a9f0e4e38bf385526220 - Diff:
-
Revision 3 (+22 -44)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.