JavaScript BDD

Open-source JavaScript projects categorized as BDD

Top 10 JavaScript BDD Projects

  1. mocha

    ☕️ simple, flexible, fun javascript test framework for node.js & the browser

    Project mention: From Requests to Reports: Clean Logging in API Testing | dev.to | 2025-05-04

    In this article, we explore logging best practices that are largely tool-agnostic, but we'll demonstrate them using PactumJS, a powerful and extensible API testing tool, along with Mocha, a popular JavaScript test framework. For logging, we’ll use Pino, one of the fastest and most reliable structured loggers for Node.js.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. karma

    Spectacular Test Runner for JavaScript

    Project mention: Top React Testing Libraries in 2025 | dev.to | 2025-03-31

    Karma is a flexible test runner that allows developers to execute tests across multiple real browsers. It’s commonly paired with frameworks like Jasmine and Mocha to provide a seamless testing environment for React applications. Karma is particularly beneficial for applications where cross-browser compatibility is a priority, as it enables developers to validate functionality on various platforms simultaneously.

  4. chai

    BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.

    Project mention: Rest API Testing: How to test Rest APIs properly! | dev.to | 2024-08-07

    Unit Testing: Yes, Rest APIs can also be tested using unit tests. This involves executing the HTTP requests and validating the result. Although this method initially requires more effort, it offers the advantage of complete integration into your development process and enables continuous testing. Each programming language has its own tools. I mainly develop with JavaScript, so I can show you a practical example here. I use Mocha and Chai as testing frameworks. For each test, one or more requests are sent to the corresponding Rest API endpoints and the result is validated.

  5. CodeceptJS

    Supercharged End 2 End Testing Framework for NodeJS

  6. tap

    Test Anything Protocol tools for node

    Project mention: Matanuska ADR 017 - Vitest, Vite, Grabthar, Oh My! | dev.to | 2025-02-09

    When I started Matanuska, I chose Node Tap as my test framework. Tap was my favorite test framework in Node for a very long time. It's historically had an API that's less "magical" than some of the other frameworks out there, it outputs TAP by default - always a bonus - and it has pretty high-level reporting.

  7. chakram

    REST API test framework. BDD and exploits promises

    Project mention: Essential Free Api Testing Tools Every Developer Should Know | dev.to | 2024-10-15

    Chakram is a REST JavaScript API testing tools framework with a BDD testing style and fully exploiting promises. It is designed for HTTP assertions and provides a simple and readable DSL (Domain-Specific Language) that makes it easy for developers and testers to write tests.

  8. Jasmine-Matchers

    Write Beautiful Specs with Custom Matchers for Jest and Jasmine

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. pactum

    REST API Testing Tool for all levels in a Test Pyramid

    Project mention: From Requests to Reports: Clean Logging in API Testing | dev.to | 2025-05-04

    In this article, we explore logging best practices that are largely tool-agnostic, but we'll demonstrate them using PactumJS, a powerful and extensible API testing tool, along with Mocha, a popular JavaScript test framework. For logging, we’ll use Pino, one of the fastest and most reliable structured loggers for Node.js.

  11. testeranto

    the AI powered BDD test framework for typescript projects

    Project mention: Show HN: Testeranto – the AI driven test framework for TypeScript projects | news.ycombinator.com | 2025-03-06
  12. node_bdd_api_tests

    JavaScript Cucumber bdd api test framework

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript BDD discussion

Log in or Post with

JavaScript BDD related posts

  • From Requests to Reports: Clean Logging in API Testing

    4 projects | dev.to | 4 May 2025
  • Rest API Testing: How to test Rest APIs properly!

    3 projects | dev.to | 7 Aug 2024
  • Why E2E test got Timeout when use supertest in NestJS?

    1 project | /r/Nestjs_framework | 18 Aug 2022
  • Typescript boilerplate test configuration with mocha, chai and sinon

    3 projects | dev.to | 17 Aug 2022
  • Running the same mocha test multiple times with different data

    1 project | /r/codehunter | 8 May 2022
  • REST API test automation with PactumJS

    2 projects | dev.to | 5 Dec 2021
  • API Integration Testing Made Easy

    3 projects | dev.to | 22 Oct 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 13 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source BDD projects in JavaScript? This list will help you:

# Project Stars
1 mocha 22,762
2 karma 11,972
3 chai 8,211
4 CodeceptJS 4,176
5 tap 2,385
6 chakram 907
7 Jasmine-Matchers 584
8 pactum 574
9 testeranto 13
10 node_bdd_api_tests 0

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com