-
Notifications
You must be signed in to change notification settings - Fork 0
/
cucumber.js
22 lines (20 loc) · 1.07 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
const configuration = `--require api-tests/step_definitions
--format json:api-tests/output/output.json
--format progress:api-tests/output/progress.txt
--format rerun:api-tests/output/rerun.txt
--format summary:api-tests/output/summary
--format usage-json:api-tests/output/usage.ndjson
--format usage:api-tests/output/usage.txt
--format message:api-tests/output/messages.ndjson api-tests/output/reporter.html
--format html:api-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'
}