Y
Hacker News
new
|
ask
|
show
|
jobs
by
eirki
1861 days ago
Absolutely love the idea of using default params to identify fixtures. That part of pytest has always rubbed me the wrong way.
2 comments
petters
1861 days ago
Yes, pytest makes navigating automatically from a test to the fixture it uses hard for some IDEs. It is also a bit too magical.
link
eirki
1861 days ago
And some linters will complain if there is a collision between the names of a parameter and a function.
link
nsdarren
1861 days ago
Thanks :) That's one of my biggest gripes with pytest too, and was one of the main things I was looking to solve.
link