TypeScript unit-testing

Open-source TypeScript projects categorized as unit-testing

Top 19 TypeScript unit-testing Projects

unit-testing
  • 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.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • Vest

    Vest ✅ Declarative validations framework

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

    An in memory postgres DB instance for your unit tests

    Project mention: Setting up PostgreSQL for running integration tests | news.ycombinator.com | 2024-04-19
  • 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.

  • suites

    A testing meta-framework that simplifies unit testing by reducing boilerplate code and enabling developers to build comprehensive and reliable test suites

    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

  • SaaSHub

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

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

  • 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).

  • superfetch

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

  • 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

  • nodejs-basic-structure

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

  • RNJestUnitTesting

    Learn how to perform unit testing in React Native with Jest

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

  • 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

  • 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
  • How to validate a input field in vue

    2 projects | /r/vuejs | 26 Nov 2022
  • What is a good STABLE for validation library for nuxt 3 ?

    1 project | /r/Nuxt | 21 Oct 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 3 Nov 2024
    SaaSHub helps you find the best software and product alternatives 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,325
2 Vest 2,563
3 pg-mem 2,000
4 typescript-clean-architecture 1,386
5 aws-sdk-client-mock 800
6 nest-clean-architecture 676
7 suites 359
8 quasar-testing 180
9 nixt 104
10 Jooks (Jest ❤ + Hooks 🤘🏻) 84
11 edge-mock 53
12 nestjs-ecommerce 20
13 superfetch 19
14 stencil-one 16
15 youtube-react-testing-video8-forms-react-testing-library 13
16 nodejs-basic-structure 5
17 nestjs-auth-flow-blog-post-with-unit-tests 2
18 RNJestUnitTesting 1
19 sveltekit-uvu-testing 0

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you konow that TypeScript is
the 2nd most popular programming language
based on number of metions?