-
Notifications
You must be signed in to change notification settings - Fork 2
/
cucumber.js
23 lines (21 loc) · 1.12 KB
/
cucumber.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const configuration = `--require ui-tests/setup/hooks.js
--require ui-tests/step_definitions
--format json:ui-tests/output/output.json
--format progress:ui-tests/output/progress.txt
--format rerun:ui-tests/output/rerun.txt
--format summary:ui-tests/output/summary
--format usage-json:ui-tests/output/usage.ndjson
--format usage:ui-tests/output/usage.txt
--format message:ui-tests/output/messages.ndjson ui-tests/output/reporter.html
--format html:ui-tests/output/inBuiltReport.html
--format @serenity-js/cucumber
--retry 1
--retry-tag-filter @rerun
--publish-quiet`
const progressBarFormat = `${configuration} --format progress-bar`
const customFormat = `${configuration} --format ./customFormat.js`
module.exports = {
'default': `${progressBarFormat}`,
'customReport': `${customFormat}`,
"dryRun": '--dry-run'
}