gleb-sevruk / pycrunch-engine

NCrunch inspired tool for continuous testing Python
https://pycrunch.com
Other
58 stars 8 forks source link

It's seem no working? #11

Closed 625781186 closed 4 years ago

625781186 commented 4 years ago

ENV: pycharm 2019.1.2 pycrunch-live-testing v0.9.0-SNAPSHOT

There are no running green dots.

image

gleb-britecore commented 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

2FF65C51-370B-4B44-8C65-BD6E9158109A

gleb-britecore commented 4 years ago

If this will not work, let me know, so I can post further diagnostic steps

625781186 commented 4 years ago

It still not work.

image

625781186 commented 4 years ago

I rename test folder to tests , it's work.

gleb-britecore commented 4 years ago

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: image

Sometimes I had this previously when there are a lot of packages installed in the virtual environment, and they have conflicting names

625781186 commented 4 years ago

@gleb-britecore

image

You are right . It has nothing to do with the folder name, so I don't know what happened.