DEV Community

loading...
Cover image for Caution Selenium FREE - Invitation to enjoy writing E2E-Tests with a modern stack

Caution Selenium FREE - Invitation to enjoy writing E2E-Tests with a modern stack

alexejstrelzow profile image Alexej Strelzow ・1 min read

Are you still writing E2E tests with Protractor and Selenium? If so, you might be interested in this node.js-alternative:

https://github.com/alexej-strelzow/testcafe-cucumber-typescript

This repository is a private hobby project of mine (please don't worry about me, I'm happily married) which I feel is mature enough to be shared with the world. It combines the following technologies/frameworks: node.js with TypeScript + Cucumber.js + TestCafe and lets you define your E2E tests with Gherkin, the BDD/BDT way. I loooooove it!!!

You can easily run the tests with one command (no need to start any driver, etc.), on your local machine or in a docker container in your CI/CD environment of choice. And in the end you will get reports, plenty of reports (json, junit and HTML), and even with screenshots if the scenario failed! I know, right ;-)

And on top of that you have a live-mode available - for dev purposes only, where every saved change to *.ts or *.feature files will rerun the selected tests :)

Summarised in 1 sentence: it's just super awesome!

So, please give it a shot, I'm sure you're gonna love it!

Thank you for your time,
Alexej

Discussion

pic
Editor guide