Skip to content

What is the minimum amount of pytest's CLI that should be supported by integrating editors? #8506

Answered by nicoddemus
brettcannon asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @brettcannon

what is the minimal amount of pytest's CLI would have to be supported?

As a user, I kind expected to be able to pass any command-line to pytest when executing it inside my editor/IDE. For example, PyCharm has a free form field "Additional arguments" where I can pass any flag I want.

Many flags require command-line arguments which are not expected to be written "permanently" in a the configuration file, but should be used on occasion, for example --last-failed or --stepwise. The same is true for external plugins.

Assume we know the directory that is open in the editor. Would specifying a different working directory be needed? What about the location of a pytest.ini file…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@brettcannon
Comment options

@nicoddemus
Comment options

@brettcannon
Comment options

@RonnyPfannschmidt
Comment options

@brettcannon
Comment options

Answer selected by brettcannon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants