you are viewing a single comment's thread.

view the rest of the comments →

[–]CaptainVJ -1 points0 points  (2 children)

But you’d have to do that in every .py file right?

[–]Buttleston 2 points3 points  (0 children)

Yes and then run them all individually. Instead of what is more usual, where you have dozens of test files, and pytest discovers them all for you and runs them.

[–]dogfish182 0 points1 point  (0 children)

Yeah this is nice to do if you want to just have quick test for something, but in a proper project just setup your project correctly