Try to use config file instead of env variables
- Add allureConfig.json file to your project
- Set Copy to output directory as Copy if newer
- Set content of allureConfig.json as following:
{
"allure": {
"directory": "C:\allure-results",
"links": [
]
}
}
- Build solution and run tests, file should be created in C:\allure-results directory
NOTE: If files still are not created under C:\allure-results, there might be some permission issue, try set path to "C:\temp\allure-results" and check there :)