DEV Community

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

Posted on

2 2

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

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

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay