odoo-ide / pycharm-odoo

PyCharm plugin for Odoo
https://plugins.jetbrains.com/plugin/13499-odoo
Other
44 stars 5 forks source link

Test feature does not trigger test window #414

Closed Astyan42 closed 1 year ago

Astyan42 commented 1 year ago

Hi!

Good work on this module, it's really useful. I've got a problem when trying to setup the testing feature. When I click on a test to be triggered or an already existing testing configuration, the test window displaying which tests have bee run, ... is not displayed even though the console saying that the test went fine.

Capture d’écran 2023-09-27 à 00 24 28

Here you can see the screen when I click on a play button near the test.

Capture d’écran 2023-09-27 à 00 26 17

Here it is right after triggering the test configuration.

Thank you for your help ! Kind regards

PS: I'm working on a Mac / using Odoo14

trinhanhngoc commented 1 year ago

Hello @Astyan42,

Can you take screenshots of your test run configurations?, e.g.:

image
Astyan42 commented 1 year ago

Hi, Here you can find it attached.

Capture d’écran 2023-09-27 à 10 21 37

This is the args given to odoo-bin: -c /Users/Dev/OdooProject/Odoo-1/devenv/odoo-local.conf --test-tags /traceability_system --database BaseTest --log-level info --log-handler :INFO --stop-after-init

trinhanhngoc commented 1 year ago

@Astyan42 , there is no problem with your run configuration. Can you take a screenshot of your project structure?, e.g.:

image
Astyan42 commented 1 year ago
Capture d’écran 2023-09-27 à 11 12 39
trinhanhngoc commented 1 year ago

@Astyan42 , There is a problem with your project structure. You need to mark the odoo folder as Sources. This is important because if not, it will cause various problems, including the testing integration feature.

270928289-0da72a0a-a994-4459-abe4-6a4f3897706e
Astyan42 commented 1 year ago

Great thank you for your help and the time spent ! Everything is now ok !