Trying pytest

By

Originally posted on mastodon.technology.

I finally had the opportunity to give pytest a real try (I'm porting tests from ruby to Python), and it's amazing! Waaay better than unittest/nosetests.

I especially liked the parametrization feature, which I think PHPUnit could probably benefit from. Specifically, I like how I could specify two parameters separately, and pytest would automatically create a matrix for all the combinations, whereas in PHPUnit you need to do that manually in the data provider.

#pytest #phpunit