-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prototype pytest
plugin for test discovery/execution.
#19790
Comments
@karthiknadig can you confirm these second two bullet points are set with the current status of the rewrite? Additionally I will put it on the todo list to test with hypothesis |
@eleanorjboyd yes. I just verified those. |
just checked and the
file name: test_ex.py
|
The test worked on my end, though I had to restart while setting up because I tried discovering the tests, only to realize I forgot to create an environment, so then I tried creating an environment, which put the editor in a condition where it kept failing to discover tests after. If I can repro such a setup, I'll file an issue for it. |
@andreamah, could you file a bug on this with logs? @rzhao271, thank you definitely file a bug if you see it again. Thanks! |
hypothesis
are handled.pytest
is be launched using pytest binary (pytest.exe or /bin/pytest) or as module (python -m pytest).stdout
if server is not available (this should help with debugging)This implementation should be no different than any other pytest plugin, this way we don't interfere with how pytest detects tests, or id generation, test selection, or execution. While debugging tests this plugin will be added to the ignore list in the debug configuration.
The text was updated successfully, but these errors were encountered: