Skip to content

A cypress plugin for slice down feature files per scenario found

Notifications You must be signed in to change notification settings

manv6/cucumber-cypress-slicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A cypress plugin for slice down feature files per scenario found

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published