Skip to content
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

PyCharm plugin & Pycrunch engine started but nothing append in UI #113

Open
sGeeK44 opened this issue Jan 19, 2024 · 1 comment
Open

PyCharm plugin & Pycrunch engine started but nothing append in UI #113

sGeeK44 opened this issue Jan 19, 2024 · 1 comment

Comments

@sGeeK44
Copy link

sGeeK44 commented Jan 19, 2024

Hi, first of all, thank's a lot for your wonderfull project :) I'm a fanatic of NCrunch/Wallaby.js and it's a long time that i'm looking for a tools like fot python !
I've tried something long time ago 😅 (https://github.com/sGeeK44/python-live-testing) but never see light. maybe a day i can contribute to develop VsCode plugin to your project.

I tried to setup tool, but nothing append in my UI (no circle color). When i open web-ui, test is well discorvered but doesnt run automaticly, I have to click on it.

Could you give me some help ?
How can I activate log to view what's coul be my problem ?

image
image

@gleb-sevruk
Copy link
Owner

Hello, the intended behavior is that tests won't be run automatically on engine startup, hence you do not see coverage.

It may be time-consuming to run all at once, but I agree that this is not clear.

Please try opening PyCrunch tool window in IDE (noted in arrow) and run the desired tests manually for the first time:
image
Do you see discovered tests there?

You can select all tests by CMD+A (Ctrl+A on Windows)

For logs you will need to change file log_configuration.yaml in site-packages: /Users/gleb/venv/pycrunch_integration_tests_3_11/lib/python3.11/site-packages/pycrunch/log_configuration.yaml

image and change ``` handlers: console: class: logging.StreamHandler level: INFO formatter: simple stream: ext://sys.stdout ``` To `level` to `DEBUG` ``` handlers: console: class: logging.StreamHandler level: DEBUG formatter: simple stream: ext://sys.stdout ```

By the way, your link (https://github.com/sGeeK44/python-live-testing) is not working, probably repo is private :)

And there is VSCode extension in development now and will be ready for alpha release in week or two, we will open source repository with the extension soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants