0
我使用一飲而盡,黑猩猩如何HTML報表添加到黃瓜/黑猩猩端對端測試
gulp.task('chimp-options',() => {
return chimp({
features: './features',
browser: 'phantomjs',
singleRun: true,
debug: false,
output: {
screenshotsPath: './screenshots',
jsonOutput: './cucumber.json',
},
htmlReport: {
enable: true,
jsonFile: './e2e_output/cucumber.json',
output: './e2e_output/report/cucumber.html',
reportSuiteAsScenarios: true,
launchReport: true,
}
});
});
的問題,我已經和它的殺了我提供的黑猩猩網站上的例子是,當我運行一飲而盡黑猩猩的選項,我得到:
Unable to parse cucumberjs output into json: './e2e_output/cucumber.json' SyntaxError: ./e2e_output/cucumber.json: Unexpected end of JSON input
What am I doing wrong ?