jest-axe
testing-library-docs
jest-axe | testing-library-docs | |
---|---|---|
4 | 45 | |
1,044 | 438 | |
- | -0.9% | |
3.0 | 8.5 | |
22 days ago | 7 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jest-axe
-
Xbox’s Matt Booty ‘dreams’ of having AI as QA testers
I usually use a combination of Storybook + Chromatic, Cypress, and Jest + Testing Library + jest-axe. Fairly standard, I think? (Aside from Chromatic, but that's mainly for convenience)
-
How to build an inline edit component in React
And finally, we can use a cool library called jest-axe. You can use it to assert that your component doesn’t have any accessibility violations:
-
Study Notes for Kent C. Dodds' Javascript Testing Course
How to test accessibility issues? Use Jest-axe GitHub - nickcolley/jest-axe: Custom Jest matcher for aXe for testing accessibility ♿️🃏
-
Automated Accessibility Testing Is a Good Start - But You Need To Test Manually Too
Tests are another place where plugins can bring more accessibility insights. I've used two, depending on the test setup: jest-axe and cypress-axe. They both add axe-core, Deque's testing solution to the testing environment.
testing-library-docs
-
The best testing strategies for frontends
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.
- Introdução a testes unitários no desenvolvimento de software
-
33 React Libraries Every React Developer Should Have In Their Arsenal
18.react-testing-library
-
What is integration testing in UI/Front End?
Jest has long been my favorite got to test runner when it comes to UI unit and integration testing. With tools like React Testing Library (Testing Library framework for React) you get the benefit of very easy to write and maintain tests, as well as a quick and efficient way to run our tests.
-
Testing Intercepting Routes
I'm writing an intergration test with Testing Library where I'm on a boards dashboard area and a user can click a button to create an item on the board. I'm using an intercepting route to do show the popup form. Once finished the user goes back to their area and should see the created board.
-
Writing your first Unit Test in React
This article uses Jest and React Testing Library. It's okay if you want to use other libraries, the fundamentals in this article will help you there as well.
-
Autotab – Boring AI Agents for real world tasks
This is the idea behind Testing-Library from what I understand.
https://testing-library.com/
-
Mastering Jest: A Complete Guide to Testing Next.js Applications Part-2
The Testing Library: The Testing Library offers guidance on best practices for testing user interfaces effectively, with a focus on user-centric testing.
-
How to run visual tests in 2023
There are great tools like Testing Library that render a single component in a single state and then programmatically inspect the resulting DOM. However, the salient details of the rendered HTML – like color, layout, and scale – are hard to express. So, the tests end up brittle (over-specified) or insufficient (under-specified).
-
Let's Make Learning Frontend Great Again!
LiveCodes provides many of the commonly used developer tools. These include Monaco editor (that powers VS Code), Prettier, Emmet, Vim/Emacs modes, Babel, TypeScript, SCSS, Less, PostCSS, Jest and Testing Library, among others. All these tools run seamlessly in the browser without any installations or configurations. It feels like a very light-weight version of your own local development environment including the keyboard shortcuts, IntelliSense and code navigation features.
What are some alternatives?
eslint-plugin-jsx-a11y - Static AST checker for a11y rules on JSX elements.
jsdom-worker - 👷♀️ Use Web Workers in Jest / JSDOM 🌈
test-data-bot
react-ui-boilerplate - The boilerplate to help you build React UI library and publish to NPM automatically.
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
Enzyme - JavaScript Testing utilities for React
lighthouse - Automated auditing, performance metrics, and best practices for the web.
cypress-realworld-testing - Next.js project for learn.cypress.io
msw - Seamless REST/GraphQL API mocking library for browser and Node.js.
axe-core - Accessibility engine for automated Web UI testing
jest-dom - :owl: Custom jest matchers to test the state of the DOM
docusaurus-plugin-remote-content - A Docusaurus plugin to download content from remote sources when it is needed.