TypeScript testing-tools

Open-source TypeScript projects categorized as testing-tools Edit details

Top 16 TypeScript testing-tool Projects

  • vitest

    A Vite-native test framework. It's fast!

    Project mention: How I generate my UI tests | dev.to | 2022-09-27

    Generates UI tests which relay on vitest and msw which follow solidjs guidelines.

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

    Project mention: Deciding between Telepresence vs Garden.io | reddit.com/r/devops | 2022-07-25

    I just used garden.io for a small personal project that was more about figuring out how to use garden. I started with the examples and used the Terraform GKE example.

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

  • 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: My first project, a Dev.to clone built with MongoDB, Express, React, and Socket.io | reddit.com/r/learnjavascript | 2022-04-08

    The only thing really messing is tests. At work we use https://github.com/nodkz/mongodb-memory-server

  • nut.js

    Native UI testing / controlling with node

    Project mention: Is there a way to press key programmatically in node without using a 3rd party like robot.js ? | reddit.com/r/node | 2022-08-18

    You could try nut.js. I am not sure if it includes any other dependencies, though.

  • lost-pixel

    Holistic visual testing for your Frontend 🖼 First class integration with Storybook, Ladle & other frontend libraries.

    Project mention: Roundup Post | reddit.com/r/SubredditSummaryBot | 2022-09-21

    Top Posts score comments title & link 385 23 comments Nested JSON files are hard to read. So you can try this Out. 186 35 comments Why the number input is the worst input 177 17 comments I ported a large C++ library to the browser! 150 46 comments Conditionally spreading objects in JavaScript 146 57 comments [AskJS] [AskJS] Where will I need to write generator functions? 125 24 comments Uppy 3.0: Future-proof, conveniently easy, stable as ever 102 75 comments React I Love You, But You're Bringing Me Down 99 27 comments [AskJS] [AskJS] How can we improve the MongoDB driver? 79 33 comments A Whole Website in a Single JavaScript File, cont'd 75 6 comments Iterating over the other 80% Most Commented Posts score comments title & link 0 100 comments [AskJS] [AskJS] Who first used the term "spread operator" re spread syntax ...? 74 51 comments [AskJS] [AskJS] How has JavaScript's reputation evolved over the years? 19 36 comments [AskJS] [AskJS] What are still present issues in contemporary (2022) JavaScript? 14 17 comments `no-pipe` ESLint plugin 6 17 comments [AskJS] [AskJS] Entire app must compile to single HTML file, no dynamic local asset files. Need a suggestion on frameworks/build tools. Top Ask JS score comments title & link 19 7 comments [AskJS] [AskJS] Static methods or normal methods for simple node.js SDK made with TS class? 8 5 comments [AskJS] [AskJS] Non-jQueryDatatables alternative? 0 7 comments [AskJS] [AskJS] Searching for a concept related to serializing Objects into arrays to save on storage space Top Showoffs score comment 3 /u/dimaivshchk said I've built a holistic visual regression testing tool. [Lost Pixel](https://github.com/lost-pixel/lost-pixel) is working with Storybook and any front-end application and provides you wi... 2 /u/dgrips said Want to share my entry for this years JS13K Games. [Charon Jr.](https://js13kgames.com/entries/charon-jr) is a 3d driving game similar to Crazy Taxi. The theme for this years competiti... 2 /u/jaredwebdev said Ever wanted to know the exact amount of time since you started or stopped doing something? Privately track durations in real-time, with my Duration Tracker app - no login, fast, free but not mobile op... Top Comments score comment 144 /u/smellemenopy said I've been an engineer for 20 years. 10 of them writing JavaScript. Never wrote a generator function and would have to google it to tell you how. 128 /u/Buckwheat469 said Old school developer here (or just old, don't know). I started JS when Geocities and Angelfire were big. I hated the ads that they injected so I created some JS code to disable the ads. It wa... 111 /u/DigiBites said I've been working on a number-input custom web component using Lit recently because I also had some similar problems. One thing that you missed however, is that for number inputs there is a method &... 99 /u/tauzN said I’m not sure if this is supposed to impress anyone? 96 /u/getify said Generators are a powerful (if often misunderstood) feature that can be molded to operate in a variety of different ways. We typically call that "metaprogramming". The design of generators bei...

  • mockttp

    Powerful friendly HTTP mock server & proxy library

    Project mention: HTTP Toolkit | news.ycombinator.com | 2021-12-20

    > why would I prefer this to mitmproxy?

    Compared to mitmproxy, HTTP Toolkit:

    - Has fully automated setup for most browsers, docker containers, Android, all Node.js/Ruby/Python/PHP/Go applications run from intercepted terminal windows, all JVM processes, any Electron apps etc etc. Some of these automated setup steps are very difficult to do manually (e.g. intercepting Android devices, where you can't normally install your own certificates nowadays, or intercepting Node.js, which completely ignores system proxy settings) so this can make a huge difference in non-trivial case.

    - Supports targeted interception (intercept just one app/container/browser window) whilst all mitmproxy's manual setup steps are generally focused on helping you intercept your whole machine at once. Intercepting the whole machine means very noisy interception and means that rewriting traffic interferes with all other usage of your machine. Targeted interception means you can do neat things like run two HTTP Toolkit instances independently at the same time, and means you don't need root privileges or permanent configuration settings.

    - Has generally friendlier UI & UX (imo). For example, mitmproxy uses a unique custom syntax (https://docs.mitmproxy.org/stable/concepts-filters/) of special characters to define matching & rewriting rules, or requires you to write a full python script. HTTP Toolkit lets you click 'new rule' -> 'GET requests' -> 'match regex ' -> 'then reply with ', and then immediately start injecting automated fake responses. From HTTP Toolkit you can then build named groups or these rules, and import & export them (as JSON) to build libraries you can share with your colleagues.

    - Provides lots more background information automatically: e.g. built-in documentation for all standard HTTP headers, body autoformatting for lots more formats, syntax highlighting, code folding, regex searching etc of request & response bodies, plus 'this is how and why this response could be cached' caching explanations, OpenAPI-powered docs for recognized endpoints on 1400+ APIs, etc.

    - Includes advanced features to do things like exporting requests as ready-to-use code for various languages & tools, or automatically testing the performance of different compression algorithms on a given response body.

    - Is more easily scriptable for automation & end-to-end testing, because all the HTTP-handling internals are usable as a standalone open-source JS library: https://github.com/httptoolkit/mockttp

    That said, mitmproxy has been around longer, it's definitely more mature, and it was a big inspiration in many places. It's a great project! It does have some advantages of its own:

    - If you strongly prefer a CLI interface, mitmproxy is very focused on that, and HTTP Toolkit is not. HTTP Toolkit could support that too in theory (the backend & frontend are independent) but it definitely doesn't right now, and it's not high on my todo list (contributions welcome though!)

    - Mitmproxy is primarily scriptable in Python. You can build automation around HTTP Toolkit's internals using mockttp, but that's JS, and it's mostly usable standalone right now, rather than integrated into normal workflows within the app. If you want very complex scripted rules, mitmproxy has a few more options right now, and lets you do things in python instead of JS, which some people will prefer.

    - WebSocket debugging - this is coming for HTTP Toolkit soon, but it's not available today. WebSockets get passed through fine, but they don't appear in the UI, and you can't set up mock rules for them.

    > I'd be interested both in why I'd prefer the open source httptoolkit and pro?

    There's a list of Pro features at https://httptoolkit.tech/pricing/. Note that it's all open source, even the Pro code, everything.

    The general idea is that everything you need to intercept, inspect and manually fiddle with traffic is totally free. Anything optional that most users don't need, but which is helpful for advanced usage or enterprise use cases, requires Pro.

  • prestige

    A text-based HTTP client in the browser. An interface-less Postman.

    Project mention: 14 Essential Developer Tools to 10X Your Productivity 🚀✨ | dev.to | 2022-09-10

    9. prestige

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

  • laika

    Log, test, intercept and modify Apollo Client's operations (by zendesk)

    Project mention: Mock, Record and Replay GraphQL Operations with Laika - a new testing tool for Apollo Client that works with Subscriptions, browser tests (e.g. Cypress) and unit tests | reddit.com/r/graphql | 2021-11-19
  • Jugglr

    Jugglr is a test data management tool that enables reliable testing with a Docker containerized database

    Project mention: Any codesmith or launch school successful stories here ? | reddit.com/r/codingbootcamp | 2022-08-24
  • dakka

    Dakka - generate automation tests for Cypress, Playwright and Puppeteer

    Project mention: Would you be interested in POM generator for Selenium? | news.ycombinator.com | 2022-06-11
  • laziness

    Laziness is a set of tools for a better developer experience.

  • mock-inspect

    Mocks network requests and allows you to make assertions about how these requests happened. Supports auto-mocking of graphQL requests given a valid schema.

  • oral

    a decorator based testing framework for typescript

  • tdm

    tdm (short for Test Data Management) is an open-source library to help you manage your test data. You can think of it as a Terraform for Test Data: You define the state your test data should be in, and TDM interfaces with your data stores (e.g. your own APIs and/or third-party APIs) to get things into that desired state. (by runreflect)

    Project mention: Show HN: tdm – Terraform for Test Data | news.ycombinator.com | 2022-02-17
  • cynic

    simple async run-anywhere js testing framework

  • jest-api-test-typescript-example

    An example repository which provides the necessary boilerplate for a reusable and maintainable jest test framework

    Project mention: Jest + Typescript API Test Framework Example (Looking For Feedback!) | reddit.com/r/typescript | 2022-02-24
  • Scout APM

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

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

TypeScript testing-tools related posts


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

Project Stars
1 vitest 6,486
2 garden 2,634
3 mongodb-memory-server 2,000
4 nut.js 999
5 lost-pixel 638
6 mockttp 585
7 prestige 341
8 laika 100
9 Jugglr 74
10 dakka 70
11 laziness 21
12 mock-inspect 19
13 oral 14
14 tdm 11
15 cynic 4
16 jest-api-test-typescript-example 2
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.