Set allure-results directory at runtime #2536
-
Hello. Saw discussion #2154, completed in 2023. Is there no way to set the results directory at runtime now? In my case, my tests can be executed simultaneously in multiple threads. I am trying to come up with a solution that ensures that the results of one test run are placed in a directory with a unique name.. But studying the sources and features of Allure I am a bit stumped. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Why do you need to have different result directories? |
Beta Was this translation helpful? Give feedback.
-
It's not yet possible to set config programmatically. The issue to follow — allure-framework/allure-csharp#497 Suggested workaround: Run NUnit in separate processes, not threads and provide different config values via |
Beta Was this translation helpful? Give feedback.
It's not yet possible to set config programmatically. The issue to follow — allure-framework/allure-csharp#497
Suggested workaround:
Run NUnit in separate processes, not threads and provide different config values via
ALLURE_CONFIG
environment variable.