Skip to content

greg.tests: migrate to pytest test runner

Deaktivert bruker requested to merge andretol/greg:GREG-14/1 into master

Migrates tests to use pytest as the test runner, replacing the standard library unittest framework.

Through its powerful fixture modelling approach, pytest allows us to compose test data according to the needs of individual tests. Without polluting the global namespace or requiring the database to be restructured/repopulated between each test, we are able to repurpose and compose test data in interesting ways.

Edited by Deaktivert bruker

Merge request reports

Loading