cucumber-cypress-slicer
v4.0.4
Published
a cypress plugin for slice down all feature files per scenario
Downloads
8
Maintainers
Readme
cucumber-cypress-slicer
A cypress plugin for slice down feature files per scenario
Install
npm i -D cucumber-cypress-slicer
# or using Yarn
yarn add -D cucumber-cypress-slicer
This module assumes the cypress
dependency v10.3.0+ has been installed.
Use
npx cucumber-cypress-slicer
Which will find all features files and will create feature file for each scenario in cypress/e2e/parsed/
folder.
Naming
Plugin will automatically create a feature file per scenario found and will name each file using the following pattern:
Feature_<feature file title>_<scenario_title>.feature
Debugging
Run this script with environment variable DEBUG=cucumber-cypress-slicer
to see verbose logs