How to set a default allure-results directory for Allure CLI? - Stack Overflow

I'm using the Allure Report CLI tools for reporting results from Behave (Python). We use the Jenki

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744913353a4600683.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信