JavaScript Tests

Open-source JavaScript projects categorized as Tests Edit details

Top 6 JavaScript Test Projects

  • Cypress

    Fast, easy and reliable testing for anything that runs in a browser.

    Project mention: Triple combined coverage with Typescript | | 2022-09-25

    import '@cypress/instrument-cra' import {defineConfig} from 'cypress' const codeCoverageTask = require('@bahmutov/cypress-code-coverage/plugin') module.exports = defineConfig({ projectId: '7mypio', experimentalSingleTabRunMode: true, retries: { runMode: 2, openMode: 0, }, env: { API_URL: 'http://localhost:4000/api', }, e2e: { specPattern: 'cypress/e2e/**/*.cy.{js,jsx,ts,tsx}', baseUrl: 'http://localhost:3000', setupNodeEvents(on, config) { return Object.assign({}, config, codeCoverageTask(on, config)) }, }, component: { setupNodeEvents(on, config) { return Object.assign({}, config, codeCoverageTask(on, config)) }, specPattern: 'src/**/*.cy.{js,jsx,ts,tsx}', devServer: { framework: 'create-react-app', bundler: 'webpack', // here are the additional settings from Gleb's instructions webpackConfig: { // workaround to react-scripts 5 issue devServer: { port: 3001, }, mode: 'development', devtool: false, module: { rules: [ // application and Cypress files are bundled like React components // and instrumented using the babel-plugin-istanbul { test: /\.ts$/, exclude: /node_modules/, use: { loader: 'babel-loader', options: { presets: [ '@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript', ], plugins: [ 'istanbul', ['@babel/plugin-transform-modules-commonjs', {loose: true}], ], }, }, }, ], }, }, }, }, }) /* eslint-disable @typescript-eslint/no-unused-vars */

  • dredd

    Language-agnostic HTTP API Testing Tool

    Project mention: API-first development maturity framework | | 2022-09-06

    In this approach, you produce an API specification first, then you build the API against the specification, and then you validate your implementation against the specification using automated API testing tools. This is the most reliable approach for building API servers, since it’s the only one that holds the server accountable and validates the implementation against the source of truth. Unfortunately, this approach isn’t as common as it should be. One of the reasons why it isn’t so common is because it requires you to produce the API specification first, which, as we saw earlier, puts off many developers who don’t know how to work with OpenAPI. However, like I said before, generating OpenAPI specifications doesn’t need to be painful since you can use tools for that. In this approach, you use automated API testing tools to validate your implementation. Tools like Dredd and schemathesis. These tools work by parsing your API specification and automatically generating tests that ensure your implementation complies with the specification. They look at every aspect of your API implementation, including use of headers, status codes, compliance with schemas, and so on. The most advanced of these tools at the moment is schemathesis, which I highly encourage you to check out.

  • 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!

  • test262

    Official ECMAScript Conformance Test Suite

    Project mention: The death of Mozilla is the death for open web | | 2022-08-14
  • BDTest

    BDTest - A Testing Framework for .NET

    Project mention: ASP.NET Core Developer Roadmap in 2022 🚀 | | 2022-01-18

    I see you've got BDDfy and LightBDD. Let me throw another into the mix:

  • reporter

    Publishes test results to Microsoft Teams, Google Chat & Slack (by test-results-reporter)

    Project mention: On-Call for QA Engineers | | 2022-09-09

    In the following sections, sample config files of Test Results Reporter cli tool are shared to follow the best practices while sending your test results to slack, microsoft teams or any other communication platforms.

  • muenchhausen

    Produce authentic fake data

    Project mention: Marak, creator of faker.js who recently deleted the project due to lack of funding and abuse of open source projects/developers pushed some strange Anti American update which has an infinite loop | | 2022-01-08
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 2022-09-25.

JavaScript Tests related posts


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

Project Stars
1 Cypress 40,585
2 dredd 3,910
3 test262 1,915
4 BDTest 61
5 reporter 49
6 muenchhausen 20
Find remote jobs at our new job board There are 5 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Truly a developer’s best friend
Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.