TypeScript unit-testing

Open-source TypeScript projects categorized as unit-testing

Top 19 TypeScript unit-testing Projects

  • fast-check

    Property based testing framework for JavaScript (like QuickCheck) written in TypeScript

    Project mention: The 5 principles of Unit Testing | dev.to | 2023-09-14

    Libraries like JSVerify or Fast-Check offer essential tools to facilitate property-based testing.

  • Vest

    Vest ✅ Declarative validations framework

    Project mention: Vest: Declarative validations framework inspired by unit testing libraries | news.ycombinator.com | 2023-11-30
  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • pg-mem

    An in memory postgres DB instance for your unit tests

    Project mention: Show HN: I open-sourced the in-memory PostgreSQL I built at work for E2E tests | news.ycombinator.com | 2024-04-07

    I've used pgmem https://github.com/oguimbal/pg-mem for the last couple of years for the same thing.

  • typescript-clean-architecture

    It is my attempt to create Clean Architecture based application in TypeScript.

  • aws-sdk-client-mock

    AWS JavaScript SDK v3 mocks for easy unit testing. 🖋️ Typed 🔬 Tested 📄 Documented 🛠️ Maintained

  • nest-clean-architecture

    🏛️ Nest.js clean architecture example following some DDD principles with use-cases written in functionnal programming.

    Project mention: Clean architecture in real world app? | /r/node | 2023-04-30

    I do not have all the links, but these are the repos that I found useful: https://github.com/stemmlerjs/white-label https://github.com/VincentJouanne/nest-clean-architecture

  • automock

    Easier Unit Testing for TypeScript Dependency Injection Frameworks

    Project mention: Unit Test Like a Pro: Automock, My Open Source Answer to Mocking Frustration 🤓💡🎭 | dev.to | 2023-12-12

    🔗 Here are some links to check out: 😎 GitHub: https://github.com/automock/automock 🐈 Automock's NestJS Official Recipe: https://docs.nestjs.com/recipes/automock 📦 NPM: https://www.npmjs.com/package/@automock/jest 📚 Docs Website: https://automock.dev

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • quasar-testing

    Testing Harness App Extensions for the Quasar Framework 2.0+

  • nixt

    Simple unit-testing for Nix [maintainer=@Lord-Valen] (by nix-community)

  • Jooks (Jest ❤ + Hooks 🤘🏻)

    Testing hooks with Jest

  • edge-mock

    Tools for testing and developing CloudFlare worker apps.

  • superfetch

    🐕 HTTP Server testing library inspired by node-supertest-fetch.

    Project mention: superfetch: 🐕 HTTP Server testing library inspired by node-supertest-fetch. | /r/coolgithubprojects | 2023-04-18
  • stencil-one

    Examples repo for testing stencil One.

  • youtube-react-testing-video8-forms-react-testing-library

    Testing Forms (react-hook-form and formik) using React Testing Library

  • nestjs-ecommerce

    Example to exercise clean architecture with different databases + cache layer + DDD

    Project mention: Mastering NestJS: Unleashing the Power of Clean Architecture and DDD in E-commerce Development — part 1 | dev.to | 2024-03-09

    The module is pretty simple, he initially is going to have the product.controller declared in it and speaking about the product.controller, you can create a simple GET method just to have something in it as well. (you can find the final version here).

  • nodejs-basic-structure

    This is a simple project using a few different libraries to create a backend API.

    Project mention: Creating a NodeJS project without frameworks in 2023 | dev.to | 2023-10-31

    Besides these configurations above, I also configured things like .gitignore, ESLint, .env, .npmrc, vite.confg, and the docker-compose.yml. All those configurations can be found inside the repository’s URL because I am not going to talk about each one here. (Repository)

  • Project mention: Applying Unit Tests on NestJS with Jest and GitHub Actions | dev.to | 2023-10-30

    You can get the entire code from this repo GitHub - nestjsninja/nestjs-auth-flow-blog-post-with-unit-tests

  • RNJestUnitTesting

    Learn how to perform unit testing in React Native with Jest

    Project mention: Learn how to perform unit testing in React Native with Jest. | dev.to | 2023-06-26

    Example App For this tutorial, we are going to use this simple app, but of course, you can apply everything learned in any app you want.

  • sveltekit-uvu-testing

    SvelteKit uvu testing: how you can easily add fast component and utility function unit tests to your Svelte app using uvu with TypeScript.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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 2024-04-07.

TypeScript unit-testing related posts

Index

What are some of the best open-source unit-testing projects in TypeScript? This list will help you:

Project Stars
1 fast-check 4,090
2 Vest 2,475
3 pg-mem 1,779
4 typescript-clean-architecture 1,313
5 aws-sdk-client-mock 717
6 nest-clean-architecture 615
7 automock 273
8 quasar-testing 173
9 nixt 92
10 Jooks (Jest ❤ + Hooks 🤘🏻) 84
11 edge-mock 50
12 superfetch 19
13 stencil-one 17
14 youtube-react-testing-video8-forms-react-testing-library 13
15 nestjs-ecommerce 7
16 nodejs-basic-structure 5
17 nestjs-auth-flow-blog-post-with-unit-tests 2
18 RNJestUnitTesting 1
19 sveltekit-uvu-testing 0
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com