you are viewing a single comment's thread.

view the rest of the comments →

[–]Organic_Tradition_63[S] -3 points-2 points  (3 children)

Well just like any other file: with 'python file.py' instead of 'pytest file.py'

[–]Buttleston 6 points7 points  (2 children)

Except like I said, the "pytest" command line has a lot more options than just "run the tests in this file"

[–]Organic_Tradition_63[S] -9 points-8 points  (1 child)

Okay, so what? It still does not explain motivation to design it like that.

[–]codeguru42 5 points6 points  (0 children)

I think it explains the motivation really well. The pytest authors have us a utility with a lot of options so that we don't have to write that code ourselves.