You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prototype pytest plugin for test discovery/execution. #19790
Ensure that any additional plugins that modify id like hypothesis are handled.
Ensure that pytest is be launched using pytest binary (pytest.exe or /bin/pytest) or as module (python -m pytest).
Ensure that result is printed to 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 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.
Activity
14 remaining items
eleanorjboyd commentedon Oct 23, 2023
just checked and the
hypothesisplugin works with the new rewrite. steps to check:python -m pip install hypothesisfile name: test_ex.py
andreamah commentedon Nov 29, 2023
I tried to get this to work, but the test seems to be running forever. Am I doing something wrong?

rzhao271 commentedon Nov 29, 2023
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.
eleanorjboyd commentedon Nov 29, 2023
Andrea Mah (@andreamah), could you file a bug on this with logs?
Raymond Zhao (@rzhao271), thank you definitely file a bug if you see it again. Thanks!