Displaying 1 to 3 from 3 results

serenity-js - A node

  •    TypeScript

Serenity/JS is a node.js library designed to make acceptance and regression testing of modern web applications faster, more collaborative and easier to scale. Although Serenity/JS provides strong support for automating web tests using Protractor and Webdriver, it works very effectively for non-web tests too! Those include tests that exercise web services or even call application code directly.

jest-cucumber - Execute Gherkin scenarios in Jest

  •    TypeScript

jest-cucumber is an alternative to Cucumber.js that runs on top on Jest. Instead of using describe and it blocks, you instead write a Jest test for each scenario, and then define Given, When, and Then step definitions inside of your Jest tests. jest-cucumber then allows you to link these Jest tests to your feature files and ensure that they always stay in sync. Jest is an excellent test runner with great features like parallel test execution, mocking, snapshots, code coverage, etc. If you're using VS Code, there's also a terrific Jest extension that allows you get realtime feedback as you're writing your tests and easily debug failing tests individually. Cucumber is a popular tool for doing Acceptance Test-Driven Development and creating business-readable executable specifications. This library aims to achieve the best of both worlds, and even run your unit tests and acceptance tests in the same test runner.