8000 How to configure pytest in sublime to run pytest with sublime · Issue #19 · kaste/PyTest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to configure pytest in sublime to run pytest with sublime #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and 8000 privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
yuzhujiutian opened this issue May 15, 2019 · 1 comment
Open

Comments

@yuzhujiutian
Copy link

I like sublime, so i want to use sublime instead of pycharm.

How to configure pytest in sublime to run pytest with sublime?

pytest version

image

python build setting (sublime -> Tools -> New Build System...)
image

image

@kaste
Copy link
Owner
kaste commented May 15, 2019

You probably set the pytest key. Ref: https://github.com/kaste/PyTest#config

  "pytest": "D:\\heloc\\...\\Scripts\\py.test.exe"

either globally or per project.

I don't know pipenv good enough but something like ["pipenv", "run", "python", "-m", "pytest"] could also work and would be more generic. (But maybe also slower?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0