bcgov / wps

Wildfire Predictive Services to support decision making in prevention, preparedness, response and recovery
Apache License 2.0
38 stars 7 forks source link

Update/remove pytest-bdd v5 #2561

Open conbrad opened 1 year ago

conbrad commented 1 year ago

Describe the task Upgrade pytest-bdd so we don't depend on this outdated downstream dependency. From what I remember it's hard to update pytest-bdd to v6 (I remember there being bugs in there parser) so it might be best to remove completely.

Acceptance Criteria

Additional context

conbrad commented 1 year ago

Update: pytest-bdd hasn't been patched yet, but also I've had a good experience with pytest's OOTB paramterize option which would effectively give us the same way to throw inputs and expected outputs at endpoints: https://docs.pytest.org/en/7.1.x/example/parametrize.html