-
Notifications
You must be signed in to change notification settings - Fork 2
Home
mpinardi edited this page Aug 21, 2020
·
12 revisions
1) Install
$ npm i cucumber-perf
2) Write a plan
Cucumber Perf uses configuration files called Plans which are parsed using a language called Salad. Create a plan that specify's which cucumber features to run and how.
Plan: test
Simulation: example
Group test.feature
Runners: 2
3) Run
$ .\node_modules\.bin\cucumber-perf
Specify where your plan files and features are located.
$ .\node_modules\.bin\cucumber-perf -p \plans \features
And what tags to use
$ .\node_modules\.bin\cucumber-perf -p \plans --perf-tags @first \features -t @example
Use Plugins
$ .\node_modules\.bin\cucumber-perf -p \plans \features -f summary