TypeScript unit-testing

Open-source TypeScript projects categorized as unit-testing

Top 23 TypeScript unit-testing Projects

unit-testing
  1. fast-check

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

    Project mention: Best Testing Practices in Node.js | dev.to | 2024-10-30

    For instance, the function addNewProduct(id, name, isDiscount) can be tested with multiple combinations of (number, string, boolean) such as (1, "iPear", false), (2, "Universe XL", true), or (0, undefined, null). By using libraries like fast-check, you can automate property-based testing within your favorite test runner.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. Vest

    Vest ✅ Declarative validations framework

  4. pg-mem

    An in memory postgres DB instance for your unit tests

    Project mention: pg-mem: in memory Postgres DB instance for your unit tests | news.ycombinator.com | 2025-05-15
  5. typescript-clean-architecture

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

  6. poku

    🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.

  7. aws-sdk-client-mock

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

  8. nest-clean-architecture

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

  9. 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
  10. suites

    Unit testing framework for dependency injection that automates mocking and simplifies test setup, reducing boilerplate code and enabling developers to build comprehensive and reliable test suites with a standardized, type-safe API

  11. quasar-testing

    Testing Harness App Extensions for the Quasar Framework 2.0+

  12. nixt

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

  13. Jooks (Jest ❤ + Hooks 🤘🏻)

    Testing hooks with Jest

  14. factory-js

    🏭 The object generator for testing.

  15. nuxt-starter

    Opinionated Nuxt Starter (by Baroshem)

    Project mention: Opinionated Nuxt Starter | dev.to | 2024-10-28

    If you would like to see the starter instantly, here is the link

  16. edge-mock

    Tools for testing and developing CloudFlare worker apps.

  17. nestjs-ecommerce

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

  18. superfetch

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

  19. stencil-one

    Examples repo for testing stencil One.

  20. nestjs-materials

    NestJS tips, tricks, Notes, Things which are not in doc and I used to figure them out and use them

    Project mention: Write e2e tests for NestJS with testcontainers | dev.to | 2025-03-28

    You can support me by giving my GitHub repo a star, so more developers start writing tests. I am a true believer of automated tests and TDD.

  21. youtube-react-testing-video8-forms-react-testing-library

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

  22. nodejs-basic-structure

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

  23. leapingbunny

    A Cruelty-Free Testing library for Observable Streams

  24. RNJestUnitTesting

    Learn how to perform unit testing in React Native with Jest

  25. SaaSHub

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

    SaaSHub logo
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).

TypeScript unit-testing discussion

Log in or Post with

TypeScript unit-testing related posts

  • How to Run Tests in Visual Studio Code: A Complete Guide

    4 projects | dev.to | 6 Mar 2025
  • NestJS + gRPC + step by step guide + e2e tests

    2 projects | dev.to | 1 Feb 2025
  • Vest: Declarative validations framework inspired by unit testing libraries

    1 project | news.ycombinator.com | 30 Nov 2023
  • superfetch: 🐕 HTTP Server testing library inspired by node-supertest-fetch.

    1 project | /r/coolgithubprojects | 18 Apr 2023
  • superfetch: 🐕 HTTP Server testing library inspired by node-supertest-fetch.

    1 project | /r/Deno | 4 Apr 2023
  • Which form package compatible with Vue 3 has the best developer experience?

    3 projects | /r/vuejs | 6 Jan 2023
  • [Help] JavaScript DOM Simple Form Validation

    1 project | /r/webdev | 1 Jan 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 1 Sep 2025
    Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →

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,593
2 Vest 2,614
3 pg-mem 2,214
4 typescript-clean-architecture 1,470
5 poku 1,107
6 aws-sdk-client-mock 887
7 nest-clean-architecture 721
8 suites 432
9 quasar-testing 180
10 nixt 115
11 Jooks (Jest ❤ + Hooks 🤘🏻) 84
12 factory-js 71
13 nuxt-starter 57
14 edge-mock 54
15 nestjs-ecommerce 40
16 superfetch 18
17 stencil-one 17
18 nestjs-materials 14
19 youtube-react-testing-video8-forms-react-testing-library 12
20 nodejs-basic-structure 6
21 nestjs-auth-flow-blog-post-with-unit-tests 3
22 leapingbunny 3
23 RNJestUnitTesting 1

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?