Allure2 report not using allure.properties for @Issue -
in current setup have can have static allure.properties file located in allure-results folder. properties file holds value @issue environment variable , value.
allure.link.issue.pattern=https://tfs.mytfs.com/tfs/_workitems?id\={}
when generate report "allure generate --clean -o " not appear using allure.properties file populate @issue links correct value. instead link value blank , link redirects itself.
i using updated @issue environment variable. think might due how generating report documentation states "simply generate report. default command line tool looking config in directory run command. can use allure_config environment variable specify path configuration".
i not sure missing though run generate command results folder. not correct?
since version allure 2 no need pass allure.properties
file allure-results
folder. need add test resources instead.
here can find example https://github.com/allure-examples/allure-testng-example/blob/master/src/test/resources/allure.properties
Comments
Post a Comment