cypress-cucumber-schematics
is a schematic package for enabling Cypress E2E testing using Cucumber with Gherkins, providing a better way to develop apps in a BDD (Behavior Driven Development) way.
You can use this schematic in every stage of your application: initial creation of a project or a production-ready Angular app. Simply just execute ng add @ngchile/cypress-cucumber-schematics
in the folder of your project and you're done!
- Installs Cypress as a development dependency.
- Installs
cypress-cucumber-preprocessor
as a development dependency. Learn more about this package here. - Removes Protractor in
angular.json
and addscypress-cucumber-preprocessor
. - Configures
cypress-cucumber-preprocessor
inpackage.json
file. - Creates Cypress project scafolding in
e2e
folder. - Creates
cypress.json
configuration file.