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. Learn more →
Top 23 TypeScript Testing Projects
-
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.
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.
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 29.4: Release Notes
-
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.
-
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-12ts-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.
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.
-
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.
-
-
cypress-realworld-app
A payment application to demonstrate real-world usage of Cypress testing methods, patterns, and workflows.
I’d encourage you to look at https://docs.cypress.io
-
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.
-
-
-
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!)
Telepresence, tilt, garden.io, okteto, skaffold etc.
-
react-native-testing-library
🦉 Simple and complete React Native testing utilities that encourage good testing practices.
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!
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).
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.
-
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.
-
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.
-
Project mention: VSCodium – Free/Libre Open Source Software Binaries of VS Code | news.ycombinator.com | 2022-06-02
-
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 ...
-
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.
TypeScript Testing related posts
- 10 best GitHub repos for developers ✅
- Deep dive into the Design System @ CGTrader
- {Excel] How to populate web forms now that Internet Explorer is gone?
- Playwright Tips From the Checkly Community
- Advice on starting a design system / component library
- Web Scraping With Puppeteer for Total Noobs
- [AskJS] Can we talk about Stubs, Spies and Mocks in JavaScript and what a mess they are?
-
A note from our sponsor - Sonar
www.sonarsource.com | 3 Feb 2023
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 |