News for hackers. Stuff that matters.
Re:Ward: Modern Test Framework for Python by eirki on Sunday May 16, 2021 @10:52AM (#27174116)
Absolutely love the idea of using default params to identify fixtures. That part of pytest has always rubbed me the wrong way.
Re:Ward: Modern Test Framework for Python by petters on Sunday May 16, 2021 @11:00AM (#27174156)
Yes, pytest makes navigating automatically from a test to the fixture it uses hard for some IDEs. It is also a bit too magical.
Re:Ward: Modern Test Framework for Python by eirki on Sunday May 16, 2021 @11:04AM (#27174182)
And some linters will complain if there is a collision between the names of a parameter and a function.
Re:Ward: Modern Test Framework for Python by nsdarren on Sunday May 16, 2021 @11:46AM (#27174440)
Thanks :) That's one of my biggest gripes with pytest too, and was one of the main things I was looking to solve.