TypeScript Testing

Open-source TypeScript projects categorized as Testing

Top 23 TypeScript Testing Projects

  • puppeteer

    Headless Chrome Node.js API

    Project mention: Web Scraping With Puppeteer for Total Noobs | dev.to | 2023-01-30

    Web scraping is something I never thought I'd do. I'm primarily a UI developer, although my career started as a backend developer. I've never been asked at a job to perform any scraping tasks, and I'd never had a personal project that required me to scrape some data until recently. I'll share what I've learned, which is honestly probably just scratching the surface of what you can do with a technology like Puppeteer. In this post I'll walk you through installing and writing a Node.js script that will scrape a weather forecast website. The weather forecast site isn't my personal project that I mentioned earlier, it's more of a contrived example of how to get started with web scraping using Node.js and Puppeteer.

  • storybook

    Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.

    Project mention: 10 best GitHub repos for developers ✅ | dev.to | 2023-02-02

    Link for the repo: https://github.com/storybookjs/storybook

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

  • Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

    Project mention: Starchart: Playwright and Chakra UI Setup | dev.to | 2023-02-03

    The past week I worked on setting up Playwright, and Chakra UI with starchart. Chakra UI is needed so that their components could be used to build the web pages, and Playwright is to be used for end-to-end testing.

  • jest

    Delightful JavaScript Testing.

    Project mention: Episode 23/04: TypeScript 5 Beta, Angular Roadmap 2023 | dev.to | 2023-01-30

    Jest 29.4: Release Notes

  • WebdriverIO

    Next-gen browser and mobile automation test framework for Node.js

    Project mention: How to fix Frontend Tests as a lazy developer | dev.to | 2022-12-14

    Your automated tests will act on behalf of a real user, open a real web browser (typically Chromium, Chrome, Firefox) using one an existing technology like Webdriver and add some syntactical sugar on top.

  • cosmos-js

    Sandbox for developing and testing UI components in isolation

    Project mention: Do you use Storybook in your React Native projects? | reddit.com/r/reactnative | 2022-03-31

    I switched to cosmos (https://github.com/react-cosmos/react-cosmos ) awhile back and like it a lot more. Storybook might have caught up this now I havnt tried again since.

  • ts-jest

    A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript.

    Project mention: Is using Jest for anything other than React a bad idea? | reddit.com/r/node | 2022-09-12

    ts-jest has had some strange performance issues and workarounds in the past, though I haven’t used it very recently so it might have fixed those by now.

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

  • react-hooks-testing-library

    🐏 Simple and complete React hooks testing utilities that encourage good testing practices.

    Project mention: Domain Layer and React? Decorators to the Rescue! | dev.to | 2023-01-13

    Of course, you could isolate the logic inside a hook, and there's an awesome way of testing it with renderHook. But yet, you're trapped into react features, if they change their API, you will have to put your hands in your working logic and adapt some stuffs to keep up to date.

  • Cucumber.js

    Cucumber for JavaScript

    Project mention: Framework for Automating of a Flow for testing in a Rails app | reddit.com/r/ruby | 2022-08-17

    What you're describing is most commonly known as acceptance testing, or behavior-driven tests. There's an excellent framework for this called Cucumber. They have gems for both plain Ruby and Rails.

  • intern

    A next-generation code testing stack for JavaScript.

  • cypress-realworld-app

    A payment application to demonstrate real-world usage of Cypress testing methods, patterns, and workflows.

    Project mention: React JS and Testing Components | reddit.com/r/reactjs | 2022-12-25

    I’d encourage you to look at https://docs.cypress.io

  • fast-check

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

    Project mention: Integrate Jest and fast-check together | dev.to | 2022-10-20

    It makes @fast-check/jest, the best option to integrate Jest and fast-check, as it provides an abstraction over both to ease their mutual integration.

  • Cucumber

    A home for issues that are common to multiple cucumber repositories

  • qawolf

    🐺 Create browser tests 10x faster

  • garden

    Automation for Kubernetes development and testing. Spin up production-like environments for development, testing, and CI on demand. Use the same configuration and workflows at every step of the process. Speed up your builds and test runs via shared result caching. (We are hiring!)

    Project mention: Best way to run k8s apps locally | reddit.com/r/devops | 2022-12-28

    Telepresence, tilt, garden.io, okteto, skaffold etc.

  • react-native-testing-library

    🦉 Simple and complete React Native testing utilities that encourage good testing practices.

    Project mention: Performance Regression Testing for React Native | dev.to | 2023-01-27

    Introducing a new tool means introducing a new workflow. This can lead to lower adoption, as developers need to to get familiar with it in the first place. To prevent that from happening, we've based Reassure on https://callstack.github.io/react-native-testing-library/ API as something React Native developers should be familiar with.

  • testing-nestjs

    A repository to show off to the community methods of testing NestJS including Unit Tests, Integration Tests, E2E Tests, pipes, filters, interceptors, GraphQL, Mongo, TypeORM, and more!

    Project mention: Nestjs + pnpm monorepo | reddit.com/r/Nestjs_framework | 2022-10-13

    To echo the other's here, Nx has been an amazing dev experience for me! I use it for ogma, for nest-commander, testing-nestjs, and for nest-samples and @nest-lab/, all using pnpm as a package manager.

  • mongodb-memory-server

    Spinning up mongod in memory for fast tests. If you run tests in parallel this lib helps to spin up dedicated mongodb servers for every test file in MacOS, *nix, Windows or CI environments (in most cases with zero-config).

    Project mention: How to test nestjs modules? | reddit.com/r/Nestjs_framework | 2022-10-13

    In the case of MongoDB there's jest-mongodb that use mongodb-memory-server; for other DBMS, I don't know if it's possible to run an instance in memory.

  • jest-preview

    Debug your Jest tests. Effortlessly.🛠🖼

    Project mention: A guide to visual debugging with Vitest Preview | dev.to | 2023-01-26

    Vitest Preview helps you to write and debug tests faster by allowing you to visualize your test in a browser. If you are familiar with Jest, you know that the Jest community has a similar debugging tool, Jest Preview, created by the same developer, Hung Viet Nguyen. To learn more about testing with Jest, check out our video guide here.

  • generatedata

    A powerful, feature-rich, random test data generator.

    Project mention: Optimizing massive MongoDB inserts, load 50 million records faster by 33%! | dev.to | 2022-10-16

    To play around with data generation and make a custom dataset I can recommend using — https://generatedata.com/. I’ve used it to generate 1🍋 records of the data. At the moment of writing this article, the basic yearly plan costs 25$ and you would not regret it.

  • Python

    This extension is now maintained in the Microsoft fork.

    Project mention: VSCodium – Free/Libre Open Source Software Binaries of VS Code | news.ycombinator.com | 2022-06-02
  • ladle

    🥄 Develop, test and document your React story components faster.

    Project mention: Component development with ladle and next/image | dev.to | 2023-01-30

    After another look at issue #100, we can tell next/image that it should skip the optimization if the component is rendered in Ladle. That is fine, because the bandwidth does not play a big role during the development. With the following code placed inside .ladle/components.tsx ...

  • user-event

    🐕 Simulate user events

    Project mention: How do I test a button that change a state with jest ? | reddit.com/r/reactjs | 2022-12-14

    You probably want to be using user-event instead of fireEvent.

  • Sonar

    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.

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

TypeScript Testing related posts

Index

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

Project Stars
1 puppeteer 81,704
2 storybook 76,413
3 Playwright 47,154
4 jest 41,324
5 WebdriverIO 7,950
6 cosmos-js 7,706
7 ts-jest 6,321
8 react-hooks-testing-library 4,875
9 Cucumber.js 4,745
10 intern 4,363
11 cypress-realworld-app 4,309
12 fast-check 3,397
13 Cucumber 3,361
14 qawolf 3,198
15 garden 2,735
16 react-native-testing-library 2,669
17 testing-nestjs 2,219
18 mongodb-memory-server 2,105
19 jest-preview 2,073
20 generatedata 2,038
21 Python 2,038
22 ladle 1,955
23 user-event 1,882
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