Closed 625781186 closed 4 years ago
It seems like your test is not discovered.
I also notice that you might accidentally filter test from the list.
Can you include all tests (success, failing, pending, pinned), and manually run it for the first time?
markers will not show automatically until you execute some test manually
If this will not work, let me know, so I can post further diagnostic steps
It still not work.
I rename test
folder to tests
, it's work.
Thanks for letting know about the fix!
Keep in mind that I'm not using pytest discovery mechanism. Pytest is based on parsing AST for source files and it is a bit different.
For PyCrunch, test file should be importable (e.g. contain init.py). Also, I believe it is a bug in the discovery engine, and I will fix it sometime in the future. As I believe both test
and tests
are valid names.
Also, I did a small investigation and there were no issues using test
folder name:
Sometimes I had this previously when there are a lot of packages installed in the virtual environment, and they have conflicting names
@gleb-britecore
You are right . It has nothing to do with the folder name, so I don't know what happened.
ENV: pycharm 2019.1.2 pycrunch-live-testing v0.9.0-SNAPSHOT
There are no running
green dots
.