The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 TypeScript Test Projects
-
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
ng-mocks
Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
cypress-lit
Test your Lit elements and native web components in cypress with all the modern browsers
-
simulador-test-de-conducir
Simulador de test teórico de conducir para Argentina / CABA / categoría B (Autos)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
The consensus I could gather is either use playwright or use a workaround to solve it in the puppeteer layer. The root cause of the bug is a websocket size limitation on the CDP protocol for chromium.
However, I discovered a great combination that transformed my API call testing in TypeScript: Vitest and Mock Service Worker (MSW). Their well-crafted design makes them incredibly easy to use, enhancing the overall testing experience.
3.WebdriverIO: WebdriverIO is another popular open-source test automation framework. Key Features: Integrates well with popular testing frameworks (e.g., Mocha, Jasmine). Supports both synchronous and asynchronous commands. Works with various browsers and platforms
Project mention: Smocker: Smocker is a simple and efficient HTTP mock server and proxy | news.ycombinator.com | 2024-02-21
Project mention: How to Effortlessly Improve a Legacy Codebase Using Robots | /r/RedditEng | 2023-05-01We first took a shot at addressing this gradually using a tool called Betterer, which works by taking a snapshot of the state of a set of errors, warnings, or undesired regular expressions in the codebase and surfacing changes in pull request diffs. Betterer had served us well in the past, such as when it helped us deprecate the Enzyme testing framework in favor of React testing library. However, because there were so many instances of noImplicitAny errors in the codebase, we found that much like snapshot tests, reviewers had begun to ignore Betterer results and we weren’t in fact getting better at all. Begrudgingly, we removed the rule from our Betterer tests and agreed to find a different way to enforce it. Luckily, this decision took place just in time for Snoosweek (Reddit’s internal hack week) so I was able to invest a few days into adding a new automation step to ensure incremental progress toward adherence to this rule.
Tinyspy built-in for mocking, stubbing, and spies.
Project mention: A User centric Usecases Validator for E2E tests made open source | /r/opensource | 2023-08-30UUV is a solution to facilitate the writing and execution of end-to-end (E2E) tests understandable by any human. It’s a coherent ecosystem based on tools that are references in their field: Axe-core, Testing Library, Cucumber, Cypress and Playwright. If used correctly, it integrates accessibility from the development stage, and can be used to establish living documentation, because it proposes a unified language for developers and non-developers with a rich dictionary, and many other features to discover. It is available on GitHub under MIT license :)
GitHub is 👉 👉 https://github.com/mrasu/echoed
TypeScript Test related posts
- Easier TypeScript API Testing with Vitest + MSW
- The best testing strategies for frontends
- Playwright Web Scraping 2024 - Tutorial
- ✍️Testing in Storybook
- Vitest In-Source Testing for SFC in Vue?
- Episode 24/14: Angular Query, New Template Syntax
- Adding standalone or "one off" scripts to your Playwright suite
-
A note from our sponsor - WorkOS
workos.com | 27 Apr 2024
Index
What are some of the best open-source Test projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | Playwright | 61,568 |
2 | vitest | 11,831 |
3 | WebdriverIO | 8,769 |
4 | jest-preview | 2,295 |
5 | smocker | 1,113 |
6 | ng-mocks | 995 |
7 | betterer | 562 |
8 | crusher | 514 |
9 | tinyspy | 513 |
10 | walletconnect-example-dapp | 334 |
11 | action-junit-report | 270 |
12 | jest-html-reporter | 259 |
13 | pkg-ok | 235 |
14 | laika | 121 |
15 | vite-plugin-vitest-typescript-assert | 79 |
16 | uuv | 56 |
17 | github-action-ts-run-api | 55 |
18 | doc-vitest | 38 |
19 | vscode-ceedling-test-adapter | 35 |
20 | cypress-lit | 24 |
21 | echoed | 12 |
22 | pdf-snapshot | 10 |
23 | simulador-test-de-conducir | 10 |
Sponsored