Unrecognized argument running pytest with plugin from executable file #10186
-
|
I have script like this to run my tests: While I am running it with IDE Debugger it perfectly works and generate allure-report I used pyinstaller debugger with import info, there I saw that allure was imported
To Reproduce
Expected behavior Environment (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @sush1q, Try this: ...
import allure_pytest.plugin
pytest.main(["-s", src.__path__[0], "--alluredir=./allure_results"], plugins=[allure_pytest.plugin]) |
Beta Was this translation helpful? Give feedback.

Hi @sush1q,
Try this: