cucumber-cypress-slicer

4.0.4 • Public • Published

cucumber-cypress-slicer renovate-app badge cypress version

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

Package Sidebar

Install

npm i cucumber-cypress-slicer

Weekly Downloads

20

Version

4.0.4

License

ISC

Unpacked Size

8.63 kB

Total Files

3

Last publish

Collaborators

  • manv6