-
Notifications
You must be signed in to change notification settings - Fork 18
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
Glob in Windows Powershell #92
Comments
hi @yasirroni , sorry I am late responding to this. I don't have a windows device and generally restrict testing to Linux. Were you able to resolve this problem? If so, please share how. |
I haven't been able to resolve it. The one package that I know can do something like that is |
I see. I don't think we can expect this to work on windows as documented, the best course of action for this case may be:
Are you able to find a way to do this natively with powershell? |
MWE that working:
with [tool.pytest.ini_options]
testpaths = ["tests", "notebooks"] But, if there is a Don't forget to ignore [tool.pytest.ini_options]
testpaths = ["tests", "notebooks"]
norecursedirs = ["hooks", "*.egg", ".eggs", "dist", "build", "docs", ".tox", ".git", "__pycache__", ".ipynb_checkpoints"] |
But, as far as I understand, |
When you enter Pytest and nbmake receive the output of the expanded If I'm correct, we shouldn't implement wildcards again in pytest/nbmake because it violates the single responsibility principle. Are you able to share with me the output from We can use the collected names to form a selector. |
Note that I already separate my tests to testpaths: tests (for py files), notebooks (for ipynb files, no longer any py files) This issue can be closed actually because config solve it. But, this issue could tell other users when they are using this package at the first time and see that bare |
Describe the bug
Run
pytest --nbmake -n=auto **/*ipynb
get no file in PowershellTo Reproduce
Steps to reproduce the behavior:
pytest --nbmake -n=auto **/*ipynb
Expected behavior
Works like in the doc
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: