Allure report: nothing shown in Chrome

前端 未结 3 906
死守一世寂寞
死守一世寂寞 2020-12-01 16:39

I\'m trying to use Allure-framework to generate a report for my Selenium WebDriver tests. I use JUnit framework and allure-maven-plugin with version 1.3.9 of Al

3条回答
  •  忘掉有多难
    2020-12-01 17:21

    To use allure report in chrome, you have two options:

    • Use mvn allure:serve target. It will generate the report and open a tab in Chrome (if default browser)
    • Generate the report using mvn allure:report target and serve the site your self, using any http server. if you have node you can use http-server for example npm install http-server -g and then http-server target/site/allure-maven-plugin)

    DO NOT use --allow-file-access-from-files flag, is it DANDEGEROUS

提交回复
热议问题