I'm using the Allure Report CLI tools for reporting results from Behave (Python). We use the Jenkins integration to run our tests on nightly builds, etc. The integration works fine, no problems there! This question is about smoothing out the experience of developing tests locally. I'm using Windows + WSL2, and VSCode.
We generate our test reports in /tmp/allure-report/
, but when I'm working locally, I run my code from /workspaces/repo/folder1/folder2/
. When I want to generate my report manually, I have to do: allure generate /tmp/allure-results
From looking at the CLI options, there are "configs" and "profiles" but I don't see any documentation online about how they work.
Is there a way I can set the default allure-results directory, so that I don't have to manually specify /tmp/allure-results
?
Ideally I'd love to set something in my pyproject.toml file or behave.ini files.