Introduce pytest command as recommended entry point #1629

Closed
davehunt opened this Issue Jun 21, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@davehunt
Contributor

davehunt commented Jun 21, 2016

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. pytest used to be part of the py package which provided several developer utilities, all starting with py.<TAB>, thus providing nice TAB-completion. If you install pip install pycmd you get these tools from a separate package. These days the command line tool could be called pytest but since many people have gotten used to the old name and there is another tool named “pytest” we just decided to stick with py.test for 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.

davehunt added a commit to davehunt/pytest that referenced this issue Jun 21, 2016

obestwalter added a commit to Avira/pytest that referenced this issue Jun 22, 2016

Add test to make sure expected entry points exist (#1629 )
We had  to  change setup.py a bit to make it easier to test (move module level code to only function where it is used)
@davehunt

This comment has been minimized.

Show comment
Hide comment
@davehunt

davehunt Jun 22, 2016

Contributor

This was fixed in ef9dd14

Contributor

davehunt commented Jun 22, 2016

This was fixed in ef9dd14

@davehunt davehunt closed this Jun 22, 2016

RonnyPfannschmidt added a commit that referenced this issue Jun 22, 2016

Merge pull request #1640 from Avira/features
Add tests for entry points (#1629 )

@pyup-bot pyup-bot referenced this issue in ulkaio/ulka Sep 8, 2016

Merged

Initial Update #1

@pyup-bot pyup-bot referenced this issue in Opentrons/opentrons Nov 22, 2017

Closed

Pin pytest to latest version 3.2.5 #443

@hugovk hugovk referenced this issue in dbrgn/tangible Nov 25, 2017

Merged

pytest is recommended entry point #23

@tomschr tomschr referenced this issue in SUSE/kiwi Feb 27, 2018

Merged

Use pytest instead of py.test #647

summeraz added a commit to summeraz/mbuild that referenced this issue Apr 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment