You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we're still using standard library unittest for our test suite.
However, pytest offers a lot of advanced functionality for testing (e.g. improved fixtures) and is simpler to write.
Also, pytest can simply run standard library unit tests so migrating does not require rewriting all tests (although we should consider this in the medium term.
To do
Call pytest in the CI/CD
Add slow flags to tests that we don't always want to run (e.g. test_optimizer_behaviour)
Currently, we're still using standard library
unittest
for our test suite.However, pytest offers a lot of advanced functionality for testing (e.g. improved fixtures) and is simpler to write.
Also, pytest can simply run standard library unit tests so migrating does not require rewriting all tests (although we should consider this in the medium term.
To do
slow
flags to tests that we don't always want to run (e.g.test_optimizer_behaviour
)See also #88, #144
The text was updated successfully, but these errors were encountered: