JavaScript test-framework

Open-source JavaScript projects categorized as test-framework

Top 7 JavaScript test-framework Projects

  • mocha

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

    Project mention: Using Mocha & chai test you React application | dev.to | 2023-02-05

    I was recently continuing to develop the Kindle UI library (cover resource) and thought it was time to write some tests, so I decided to use the Mocha testing scheme (to try something new).

  • ava

    Node.js test runner that lets you develop with confidence 🚀

    Project mention: Tech stack discussion | reddit.com/r/PWA | 2023-01-08

    Ava for a simpler environment than Jest, which I usually use. I need to check how to mock ESM with it, though.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • TestCafe

    A Node.js tool to automate end-to-end web testing.

    Project mention: Why TestCafe is the Perfect Solution for Automating Browser Testing in Your Web Project | dev.to | 2023-01-13

    Official website: Testcafe.io

  • dredd

    Language-agnostic HTTP API Testing Tool

    Project mention: Integration testing best practices for API servers... | reddit.com/r/golang | 2022-12-05

    If you want to make sure the server implements a certain contract like there's an handler responding to a GET request to /API/what/ever I'd rather use something else. To be completely honest this is a topic I'm currently also searching for a really good solution but what I found so far (and looks promising) is https://dredd.org/ or https://microcks.io/ Both support OpenAPI testing so you can specify the contract as an OpenAPI spec and validate your server against it.

  • mountebank

    Over the wire test doubles

  • baretest

    An extremely fast and simple JavaScript test runner.

  • oletus

    Minimal ECMAScript Module test runner

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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). The latest post mention was on 2023-02-05.

Index

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

Project Stars
1 mocha 21,875
2 ava 20,221
3 TestCafe 9,549
4 dredd 3,965
5 mountebank 1,836
6 baretest 407
7 oletus 43
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
www.sonarsource.com