Skip to content

Instantly share code, notes, and snippets.

@mplanchard
Last active February 18, 2018 03:46
Show Gist options
  • Save mplanchard/877f013bae1c3cf3319e3612ff9442c9 to your computer and use it in GitHub Desktop.
Save mplanchard/877f013bae1c3cf3319e3612ff9442c9 to your computer and use it in GitHub Desktop.
pytest parametrize basic
import pytest
@pytest.mark.parametrize('foo', ('a', 'b'))
def test_something(foo):
print(foo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment