Closed Krata4 closed 11 months ago
Hi, @Krata4 !
The discussions page is a much better place for such questions. Please, open a new Questions & Support
discussion next time.
Regarding your question, use the subprocess module:
import subprocess
process = subprocess.run("allure generate --clean --output ./allure-report ./allure-results", shell=True)
if not process.returncode:
print("Can't generate the report")
You may omit shell=True
on Linux/MAC.
Hello,
can you help me please, I would like call "allure generation" command from python code. Is it possible call this function please?
Thanks