odoo-ide / pycharm-odoo

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

How to change default run/debug configuration next to test #474

Closed mathisgauthey closed 4 months ago

mathisgauthey commented 4 months ago

Hi !

Just switched from VS Code to PyCharm, and I can't find a proper way to run specific test from code file directly.

I am using pytest-odoo that allows me to run tests from all my custom addons in addons/ directory :

image

It works like a charm :

image

And so I would like to be able to run a specific test from the code directly but it uses your plugin and the configuration doesnt work.

image

Can I change the default configuration used by the small launch triangle ? image

I'd like it to use PyTest like when your plugin is disabled. Is this configurable ?

Thanks in advance !

mathisgauthey commented 4 months ago

Finally found it :

image