Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. @pytest.mark.parametrize(
  2.     "username" # nome do parâmetro que será passado para o teste como fixture
  3.     [ # lista dos valores que serão passados em 'username'
  4.         "valor1",
  5.         "valor2",
  6.         "valor3",
  7.     ]
  8. )
  9. def test_my_feature(username, fixture_x, fixture_y):
  10.     ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement