Skip to content

781 paramtrize

Bengfort requested to merge 781-paramtrize into master

based on !409 (merged)

There were several stumbling blocks along the way:

  • The pytest API did change a few times in the last years. It took me hours to gather this solution from several sources, mainly because they were outdated.
  • It is currently not possible to load fixtures in parametrize directly. There is an issue for that. I chose to use request.getfixturevalue() which adds some boilerplate but is fine otherwise.
  • I used xfail to mark the cases that are expected to fail. This is not an ideal fit because those cases should pass, not xfail. There are alternatives but I did not want to add new dependencies.

Merge request reports