我正在使用WebDriverIO並希望生成傾斜報告。我跟着Allure 提到的所有步驟,我所做的:使用WebDriverIO和Jasmine框架生成的傾斜報告
$ npm install wdio-allure-reporter --save-dev
的package.json有:
"wdio-allure-reporter": "~0.0.2"
我wdio.conf.js:
reporters: [allure],
reporterOptions: {
allure: {
outputDir: 'allure-results'
}
},
當我做allure generate './allure-results' --clean
報告成功生成引誘報告
但是當進入/ allure-report文件夾並打開index.html時,其空白頁。在.allure-results文件夾中也沒有任何內容。
有人可以幫助,並指出正確的方向。我錯過了什麼?
如何打開報表?魅力需要通過網絡服務器打開,通過'file:///'協議打開文件不起作用。 查看相關問題:http://stackoverflow.com/questions/23997449/allure-report-nothing-shown-in-chrome –