DEV Community

Joan Esquivel
Joan Esquivel

Posted on

Cypress 10+ & Cucumber

I see people having headaches trying to integrate Cypress and Cucumber. So, I decided to create a couple of videos to explain how to integrate both of them, and how to get a BDD report at the end of the execution.

1- Install the right cucumber dependency
As you can see in the following video, I'll be using the cypress-cucumber-preprocessor dependency, which is the best option available in the market right now.

2- Generate HTML reports with a simple add-on
You'll need to download a json formatter as I explain in the video. Also, some extra configurations in the cucumber config file. Check it out:

If you want to clone the repo, just access it here: Cucumber-Boilerplate-Project

Top comments (0)