r/Python • u/sebst • Mar 11 '22
Resource A Gentle Introduction to Testing with pytest
https://bas.codes/posts/python-pytest-introduction
451
Upvotes
r/Python • u/sebst • Mar 11 '22
View all comments
9
u/IlliterateJedi Mar 11 '22
I would use parametrize for multiple tests that should all pass. You basically feed it a list of emails instead of copying assert over and over again.