-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
It should be possible to run pytest using pytest command in addition to the existing py.test. This resolves a naming confusion that has existed for many years.
Explanation of py.test vs pytest from FAQ:
Some of the reasons are historic, others are practical.
pytestused to be part of thepypackage which provided several developer utilities, all starting withpy.<TAB>, thus providing nice TAB-completion. If you installpip install pycmdyou get these tools from a separate package. These days the command line tool could be calledpytestbut since many people have gotten used to the old name and there is another tool named “pytest” we just decided to stick withpy.testfor now.
The issue with the 'other tool' has been resolved for some time now, so from pytest 3.0 we will supported and recommend use of pytest as the main command instead of py.test. It's possible that in future we will deprecate py.test and potentially even remove it.