Skip to content

How to use pytest.mark.parametrize (or equivilant) inside a plugin #8893

Discussion options

You must be logged in to vote

The best way I can find is to base it on this example here: https://docs.pytest.org/en/6.2.x/example/nonpython.html
There's a bit of the plugin I'm having to refactor to do so, but it's looking like it'll be cleaner in the end!

In the end, I couldn't find a way to use @pytest.mark.parametrize, but I'm not sure it's necessary here.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nicoddemus
Comment options

@Cameronsplaze
Comment options

Answer selected by Cameronsplaze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants