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 testing-library Open-Source Projects
-
terratest
Terratest is a Go library that makes it easier to write automated tests for your infrastructure code.
-
react-hooks-testing-library
π Simple and complete React hooks testing utilities that encourage good testing practices.
-
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.
-
keploy
Test generation for Developers. Generate tests and stubs for your application that actually work!
-
eslint-plugin-testing-library
ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
-
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.
-
angular-testing-library
π Simple and complete Angular testing utilities that encourage good testing practices
-
faker
Go (Golang) Fake Data Generator for Struct, previously https://github.com/bxcodec/faker (by go-faker)
-
reactjs-vite-tailwindcss-boilerplate
This is a boilerplate build with Vite, React 18, TypeScript, Vitest, Testing Library, TailwindCSS 3, Eslint and Prettier.
-
eslint-config-galex
hopefully the last eslint config you'll ever need - customizable & modern best practices for JS, TS, Node, React, Remix, Next, Jest, testing-library & storybook
-
next-typescript-tailwind-mdx-starter
Opinionated Next.js Starter with TypeScript, Tailwind, MDX, and decent SEO
-
svelte-jester
A Jest transformer for Svelte - compile your components before importing them into tests.
-
react-ui-boilerplate
The boilerplate to help you build React UI library and publish to NPM automatically.
-
vue-testing-library-sample
π A Vue.js project to test Jest and Testing-library. Data come from Star Wars API.
-
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.
Terratest is a Go library that provides tools and patterns for testing infrastructure, with first-class support for Terraform, Packer, Docker, Kubernetes, and more. It's used to write automated tests for your infrastructure code.
Project mention: The Art of Side Effects in React.js: Understanding and Using the useEffect Hook | dev.to | 2023-06-18While generally it's recommended to test the component using the hooks rather than the hooks themselves, sometimes you might find it necessary to test custom hooks directly. For such cases, there's React Hooks Testing Library. This library allows you to create a simple test harness for React hooks that handles running them within the body of a function component, as well as updating and unmounting them.
Project mention: Mastering Jest Configuration for React TypeScript Projects with Vite: A Step-by-Step Guide | dev.to | 2023-12-15//config/jest/setupTests.ts // jest-dom adds custom jest matchers for asserting on DOM nodes. // allows you to do things like: // expect(element).toHaveTextContent(/react/i) // learn more: https://github.com/testing-library/jest-dom import '@testing-library/jest-dom';
October is the month of Open Source and Keploy is taking part in this celebration. You can contribute to several Keploy projects by participating in this yearβs Hacktoberfest. You can both contribute to the code part and the no-code part as well. Here are some contributions that you can make!
Complex objects creation can be put into a utility function, maybe check out https://github.com/go-faker/faker for generating fake data.
Probably Enzyme was the first to popularize component testing in React by doing shallow rendering and expecting some things to be there in the React component tree. Then React Testing library came and took component testing to a whole new level.
Github Link for others: https://github.com/KakaoCup/Kakao
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 :)
testing-library related posts
- Tutorials on scraping via monitoring network tab and request methods?
- How do you manage huge table-driven tests?
- Saw a not-so-good thing in my pipeline. How do we fix it?
- Connect to remote web driver via proxy. (Java)
- Trunk Based Development: Confused about how to test code before pushing to main? How does the deploy process work for many environments?
- terratest for infrastructure
- Is there a testing framework for Kubernetes and AWS resources?
-
A note from our sponsor - WorkOS
workos.com | 26 Apr 2024
Index
What are some of the best open-source testing-library projects? This list will help you:
Project | Stars | |
---|---|---|
1 | terratest | 7,336 |
2 | react-hooks-testing-library | 5,201 |
3 | jest-dom | 4,290 |
4 | keploy | 3,316 |
5 | Truth | 2,693 |
6 | eslint-plugin-testing-library | 956 |
7 | nose2 | 771 |
8 | angular-testing-library | 678 |
9 | wp_mock | 654 |
10 | faker | 556 |
11 | testing-library-docs | 438 |
12 | reactjs-vite-tailwindcss-boilerplate | 436 |
13 | Kakao | 305 |
14 | eslint-config-galex | 175 |
15 | next-typescript-tailwind-mdx-starter | 157 |
16 | testing-library-recorder-extension | 143 |
17 | svelte-jester | 127 |
18 | Ogooreck | 124 |
19 | pytypest | 57 |
20 | uuv | 56 |
21 | react-ui-boilerplate | 50 |
22 | scalatest-junit-runner | 36 |
23 | vue-testing-library-sample | 20 |
Sponsored