# testing-library

Testing Library is a family of packages for testing UI components in a user-centric way.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Find elements the way your users do with cy.getByRole()

DevFeed: [Find elements the way your users do with cy.getByRole()](<https://devfeed.tech/articles/find-elements-the-way-your-users-do-with-cy-getbyrole-87070.md>)

Original publisher: [Read original article](<https://www.cypress.io/blog/find-elements-the-way-your-users-do-with-cy-getbyrole/>)

Author: Jennifer Shehane

Published: 2026-10-14T17:54:38Z

Content type: article

Language: en

Sources: [Cypress Blog](<https://devfeed.tech/sources/cypress-blog.md>)

Topics: [ui-testing](<https://devfeed.tech/topics/ui-testing.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [aria](<https://devfeed.tech/topics/aria.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [axe-core](<https://devfeed.tech/topics/axe-core.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [ai](<https://devfeed.tech/tags/ai.md>), [assistive-technology](<https://devfeed.tech/tags/assistive-technology.md>), [audits](<https://devfeed.tech/tags/audits.md>), [button](<https://devfeed.tech/tags/button.md>), [cypress](<https://devfeed.tech/tags/cypress.md>), [native](<https://devfeed.tech/tags/native.md>), [query](<https://devfeed.tech/tags/query.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Cypress 16.2.0 adds `cy.getByRole()`, which locates elements by role and optional accessible name, retries like other Cypress queries, and yields all matches. By default, it selects native HTML elements where available, so replacing a `<button>` with `<div role="button">` can make a test fail and expose missing keyboard behavior; `{ native: false }` includes role-attribute elements when needed. Compared with Cypress Testing Library's `findByRole()`, it also uses chained `.filter()` for states such as checked or selected, and multiple matches must be narrowed explicitly. Existing Testing Library tests can migrate gradually, and the plugin can remain for other queries. Cypress Accessibility is a separate Cypress Cloud feature that audits page states reached by recorded tests, including elements not directly asserted; `cy.getByRole()` works without Cloud.

### Source excerpt

Cypress 16.2.0 adds cy.getByRole(), a built-in query that finds elements by role and accessible name. By default, it matches only native elements, so your tests catch a swapped for a . Here's why that matters, and how to move off Cypress Testing Library.

## AI-assisted migration from Enzyme to React Testing Library

DevFeed: [AI-assisted migration from Enzyme to React Testing Library](<https://devfeed.tech/articles/the-pulse-we-need-to-talk-about-migrations-with-ai-40929.md>)

Original publisher: [Read original article](<https://blog.pragmaticengineer.com/the-pulse-we-need-to-talk-about-migrations-with-ai/>)

Author: Ivan Klaric

Published: 2026-08-27T18:04:54Z

Content type: article

Language: en

Sources: [The Pragmatic Engineer](<https://devfeed.tech/sources/the-pragmatic-engineer-2.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [migration](<https://devfeed.tech/topics/migration.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>), [codex](<https://devfeed.tech/topics/codex.md>), [React Native](<https://devfeed.tech/topics/react-native.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [codex](<https://devfeed.tech/tags/codex.md>), [migration](<https://devfeed.tech/tags/migration.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [openai](<https://devfeed.tech/tags/openai.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

The article examines Asana's migration from Enzyme to React Testing Library and discusses how AI-assisted coding, including OpenAI Codex, may make large testing-system migrations more practical. It compares the different testing approaches and syntax used by the two libraries.

### Source excerpt

Asana migrated off testing framework Enzyme in two weeks: without AI, this work would surely have been kicked down the road. Airbnb and Uber share similar stories and AI seems excellent at migrations.

## Test IDs are an a11y smell

DevFeed: [Test IDs are an a11y smell](<https://devfeed.tech/articles/test-ids-are-an-a11y-smell-48236.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/test-ids-are-an-a11y-smell>)

Published: 2026-03-23T00:00:00Z

Content type: opinion

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [Playwright](<https://devfeed.tech/topics/playwright.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Selenium](<https://devfeed.tech/topics/selenium.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [playwright](<https://devfeed.tech/tags/playwright.md>), [selenium](<https://devfeed.tech/tags/selenium.md>), [test-coverage](<https://devfeed.tech/tags/test-coverage.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

The article argues that test IDs are inferior selectors because users cannot see them and they couple tests to implementation details. It recommends role-based selectors, including those provided by Testing Library and Playwright, and connects this approach to maintainability and accessibility.

### Source excerpt

Users don't use data-testid, so why do your tests?

## Migrating 76,000 Tests from Enzyme to React Testing Library

DevFeed: [Migrating 76,000 Tests from Enzyme to React Testing Library](<https://devfeed.tech/articles/moving-mountains-how-we-migrated-from-enzyme-to-react-testing-library-29109.md>)

Original publisher: [Read original article](<https://product.hubspot.com/blog/migrated-from-enzyme-to-react-testing-library>)

Author: Charley Pugmire

Published: 2025-11-13T18:31:47Z

Content type: tutorial

Language: en

Sources: [HubSpot](<https://devfeed.tech/sources/hubspot.md>)

Topics: [testing-library](<https://devfeed.tech/topics/testing-library.md>), [React](<https://devfeed.tech/topics/react.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [migration](<https://devfeed.tech/topics/migration.md>), [ui-testing](<https://devfeed.tech/topics/ui-testing.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [migration](<https://devfeed.tech/tags/migration.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [ui-testing](<https://devfeed.tech/tags/ui-testing.md>)

### AI overview

The article explains how a team migrated more than 76,000 tests from Enzyme to React Testing Library over two and a half years. It describes the shift toward user-focused UI tests, the planning process, and the limits of using static analysis alone to estimate the work.

### Source excerpt

For years, Enzyme was the de facto standard for testing React applications. Originally built by Airbnb in 2015, Enzyme makes it easy to assert, manipulate, and traverse the output of React components. The last official release of Enzyme came after React 16 was launched in 2017, but even then did not fully support all React 16 features. Ongoing support for Enzyme shifted to the open source community with React 17. However, the creator of the community-maintained Enzyme adapter announced that he would not be offering an updated version for React 18. This effectively marked the end of the Enzyme project, as it would prevent users from leveraging new features like React 18's concurrent mode.

## I got my first promotion in 10 months

DevFeed: [I got my first promotion in 10 months](<https://devfeed.tech/articles/i-got-my-first-promotion-in-10-months-39997.md>)

Original publisher: [Read original article](<https://www.saiyangrowthletter.com/p/i-got-my-first-promotion-in-10-months>)

Author: Tiger Abrodi

Published: 2024-04-07T13:11:46Z

Content type: opinion

Language: en

Sources: [Saiyan Growth Letter](<https://devfeed.tech/sources/saiyan-growth-letter.md>)

Topics: [Web Accessibility (a11y)](<https://devfeed.tech/topics/web-accessibility.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [React](<https://devfeed.tech/topics/react.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [axe-devtools](<https://devfeed.tech/tags/axe-devtools.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

The author describes moving from junior to mid-level developer in 10 months. They attribute the promotion to improving website accessibility, using screen readers and Axe DevTools, sharing accessible coding practices, introducing pair reviews and a stop-and-fix practice, and documenting performance APIs in React.

### Source excerpt

Sharing what I did and learned along the way

## Snapshot Testing Libraries for Android: Paparazzi vs Shot

DevFeed: [Snapshot Testing Libraries for Android: Paparazzi vs Shot](<https://devfeed.tech/articles/snapshot-testing-libraries-for-android-paparazzi-vs-shot-42189.md>)

Original publisher: [Read original article](<https://medium.com/astronauts-id/snapshot-testing-libraries-for-android-paparazzi-vs-shot-d3e7427ea534?source=rss----f54da6775e90---4>)

Author: Fajar Febriyan

Published: 2024-02-29T03:56:36Z

Content type: comparison

Language: en

Sources: [Astronauts](<https://devfeed.tech/sources/astronauts-id-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [screenshot-testing](<https://devfeed.tech/topics/screenshot-testing.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [ui-testing](<https://devfeed.tech/topics/ui-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Framework](<https://devfeed.tech/topics/framework.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [compare](<https://devfeed.tech/tags/compare.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [developers](<https://devfeed.tech/tags/developers.md>), [screenshot-testing](<https://devfeed.tech/tags/screenshot-testing.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [ui-testing](<https://devfeed.tech/tags/ui-testing.md>)

### AI overview

This comparison explains snapshot testing for Android UI components and contrasts the Shot and Paparazzi libraries. It covers visual regression detection, cross-device consistency, setup, golden images, and verification.

### Source excerpt

What is snapshot testing? Snapshot testing, also known as screenshot testing, is an automated testing technique that captures screenshots of User Interface (UI) components and compares them against reference images. The idea is simple: we save a reference screenshot of a UI component in a known good state, and during testing, we capture a new screenshot and compare it to the reference. If these two images match, the test passes; if not, it fails. Comparing the golden image (real pineapple) with the image (pineapple illustration)Then why snapshot testing? According to the Testing Pyramid, UI testing, also known as, end-to-end testing is a type of testing recommended to be carried out in application development. UI testing is basically a mechanism meant to test the UI aspect of any software that users come into contact with. One way to do this is with a simple concept not requiring painful scenarios which is the snapshot testing. The image above is referenced from Martin Fowler's post regarding the Test Pyramid Snapshot testing is beneficial for various reasons: Visual Regression Detection: It helps identifying unintended visual changes introduced during development. Ease of Use: Writing snapshot tests is often simpler and more intuitive than crafting complex UI test scripts. Cross-Platform Testing: Snapshot tests can be used to ensure consistency across various Android devices and configurations. Let's dive into the libraries We chose to discuss and compare these 2 libraries because they have different methods and produce different results. Shot Shot is an open-source snapshot testing library developed by Pedro Vicente Gómez Sánchez. It integrates seamlessly with popular testing frameworks like JUnit and Espresso, making it a popular choice among Android developers. Paparazzi Paparazzi is another popular snapshot testing library developed by Cash App. It offers robust screenshot comparison and supports testing on a wide range of Android devices. How it works? Setup:

## Testing API Calls With React Testing Library and Jest

DevFeed: [Testing API Calls With React Testing Library and Jest](<https://devfeed.tech/articles/testing-api-calls-with-react-testing-library-and-jest-37594.md>)

Original publisher: [Read original article](<https://www.taniarascia.com/how-to-test-useeffect-api-call/>)

Author: hello@taniarascia.com

Published: 2022-12-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tania Rascia](<https://devfeed.tech/sources/tania-rascia.md>)

Topics: [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [React](<https://devfeed.tech/topics/react.md>), [API](<https://devfeed.tech/topics/api.md>), [Jest](<https://devfeed.tech/topics/jest.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [jest](<https://devfeed.tech/tags/jest.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

### AI overview

A tutorial showing how to test React useEffect API calls with Jest and React Testing Library, including tests for successful and failed requests.

### Source excerpt

Ever since Hooks were released in React, we've been using the hook to fetch data, whether directly or abstracted away behind Redux Thunks...

## Building an On-Device Embedded Testing Library

DevFeed: [Building an On-Device Embedded Testing Library](<https://devfeed.tech/articles/building-an-on-device-embedded-testing-library-47371.md>)

Original publisher: [Read original article](<https://interrupt.memfault.com/blog/testing-library>)

Author: Jan Koniarik

Published: 2022-06-07T00:00:00Z

Content type: article

Language: en

Sources: [Interrupt](<https://devfeed.tech/sources/interrupt.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [C++](<https://devfeed.tech/topics/c-plus-plus.md>), [Embedded Software Dev](<https://devfeed.tech/topics/embedded-software-dev.md>), [Microcontroller](<https://devfeed.tech/topics/microcontroller.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [embedded-devices](<https://devfeed.tech/tags/embedded-devices.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [microcontrollers](<https://devfeed.tech/tags/microcontrollers.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

The post explains why conventional C/C++ testing libraries are poorly suited to constrained embedded devices and describes the rationale and requirements for a custom testing library that runs directly on microcontroller hardware.

### Source excerpt

There are too few C/C++ testing libraries designed for embedded devices. The traditional libraries are not designed for constrained resources and rely on host functionality like a filesystem or standard output. In this post, I detail why I've decided to design a new testing library for microcontrollers and cover the rationale, design choices, and thoughts on the prototype. Continue reading...

## How to Structure and Organize a React Application

DevFeed: [How to Structure and Organize a React Application](<https://devfeed.tech/articles/how-to-structure-and-organize-a-react-application-37602.md>)

Original publisher: [Read original article](<https://www.taniarascia.com/react-architecture-directory-structure/>)

Author: hello@taniarascia.com

Published: 2021-06-23T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tania Rascia](<https://devfeed.tech/sources/tania-rascia.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [structure](<https://devfeed.tech/topics/structure.md>), [Redux](<https://devfeed.tech/topics/redux.md>), [React Router](<https://devfeed.tech/topics/react-router.md>), [styled-components](<https://devfeed.tech/topics/styled-components.md>), [Jest](<https://devfeed.tech/topics/jest.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [css](<https://devfeed.tech/tags/css.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [jest](<https://devfeed.tech/tags/jest.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>), [react-router](<https://devfeed.tech/tags/react-router.md>), [redux](<https://devfeed.tech/tags/redux.md>), [state-management](<https://devfeed.tech/tags/state-management.md>), [structure](<https://devfeed.tech/tags/structure.md>)

### AI overview

This tutorial presents an opinionated, feature-focused directory structure for organizing large-scale production React applications. It explains how to separate global shared components from feature-specific code and discusses accompanying choices for Redux, React Router, styling, testing, and authentication.

### Source excerpt

There is no consensus on the right way to organize a React application. React gives you a lot of freedom, but with that freedom comes the...

## The Testing Trophy and Testing Classifications

DevFeed: [The Testing Trophy and Testing Classifications](<https://devfeed.tech/articles/the-testing-trophy-and-testing-classifications-51896.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/the-testing-trophy-and-testing-classifications>)

Author: Kent C Dodds

Published: 2021-06-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Mocking](<https://devfeed.tech/topics/mocking.md>), [Unit testing](<https://devfeed.tech/topics/unit-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [how-to](<https://devfeed.tech/tags/how-to.md>), [mocking](<https://devfeed.tech/tags/mocking.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

An explanation of the Testing Trophy and how to distinguish static, unit, integration, and end-to-end tests. The article describes how mocking, code ownership, and testing scope affect these classifications, with examples involving React components, pages, applications, and hooks.

### Source excerpt

How to interpret the testing trophy for optimal clarity

## Common mistakes with React Testing Library

DevFeed: [Common mistakes with React Testing Library](<https://devfeed.tech/articles/common-mistakes-with-react-testing-library-51746.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/common-mistakes-with-react-testing-library>)

Published: 2020-05-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [React](<https://devfeed.tech/topics/react.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [eslint](<https://devfeed.tech/tags/eslint.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

An opinionated guide to common suboptimal patterns in React Testing Library. It explains why these testing approaches can reduce confidence or cause problems and recommends improved practices, including using the official Testing Library ESLint plugin and better assertion and query patterns.

### Source excerpt

Some mistakes I frequently see people making with React Testing Library.

## Fix the "not wrapped in act(...)" warning

DevFeed: [Fix the "not wrapped in act(...)" warning](<https://devfeed.tech/articles/fix-the-not-wrapped-in-act-warning-51764.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/fix-the-not-wrapped-in-act-warning>)

Published: 2020-02-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [async](<https://devfeed.tech/topics/async.md>), [Jest](<https://devfeed.tech/topics/jest.md>), [Promise](<https://devfeed.tech/topics/promise.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [jest](<https://devfeed.tech/tags/jest.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

A tutorial explains React's "not wrapped in act(...)" warning in component tests. It shows how incomplete tests can miss asynchronous updates and how act wrappers and React Testing Library's async utilities help detect regressions.

### Source excerpt

There are a few reasons you're getting this warning. Here's how you fix it.

## Making your UI tests resilient to change

DevFeed: [Making your UI tests resilient to change](<https://devfeed.tech/articles/making-your-ui-tests-resilient-to-change-51830.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/making-your-ui-tests-resilient-to-change>)

Published: 2019-10-07T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [tests](<https://devfeed.tech/tags/tests.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

This tutorial explains how to make UI tests more resilient to changes by selecting elements in ways that resemble how users interact with the software. It recommends Testing Library queries based on roles, labels, text, and other user-facing properties, with test IDs as a fallback.

### Source excerpt

User interface tests are famously finicky and prone to breakage. Let's talk about how to improve this.

## 2018 in Review

DevFeed: [2018 in Review](<https://devfeed.tech/articles/2018-in-review-51718.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/2018-in-review>)

Published: 2019-01-14T00:00:00Z

Content type: opinion

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Software](<https://devfeed.tech/topics/software.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [community](<https://devfeed.tech/tags/community.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [review](<https://devfeed.tech/tags/review.md>), [testing](<https://devfeed.tech/tags/testing.md>)

### AI overview

A personal review of 2018 accomplishments, including the creation and growth of React Testing Library, the development of an open-source testing community, and writing a novel. The author also shares hints about plans for 2019.

### Source excerpt

An overview of what I've accomplished in 2018 and a bit about my goals for 2019.

## UI Testing Myths

DevFeed: [UI Testing Myths](<https://devfeed.tech/articles/ui-testing-myths-51902.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/ui-testing-myths>)

Published: 2018-11-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [ui-testing](<https://devfeed.tech/topics/ui-testing.md>), [Cypress](<https://devfeed.tech/topics/cypress.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Redux](<https://devfeed.tech/topics/redux.md>), [React Router](<https://devfeed.tech/topics/react-router.md>)

Tags: [cypress](<https://devfeed.tech/tags/cypress.md>), [e2e-testing](<https://devfeed.tech/tags/e2e-testing.md>), [react](<https://devfeed.tech/tags/react.md>), [redux](<https://devfeed.tech/tags/redux.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>), [ui-testing](<https://devfeed.tech/tags/ui-testing.md>)

### AI overview

The article examines common UI and end-to-end testing myths. It argues for testing user-visible behavior instead of implementation details, testing connected components with real Redux integration, and avoiding repetitive setup and page objects in end-to-end tests.

### Source excerpt

Some common myths around testing and what the reality is...

## React is an implementation detail

DevFeed: [React is an implementation detail](<https://devfeed.tech/articles/react-is-an-implementation-detail-51856.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/react-is-an-implementation-detail>)

Published: 2018-10-20T00:00:00Z

Content type: opinion

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [React](<https://devfeed.tech/topics/react.md>), [jQuery](<https://devfeed.tech/topics/jquery.md>)

Tags: [frontend](<https://devfeed.tech/tags/frontend.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

The article argues that React is an implementation detail when testing user interfaces. It presents DOM Testing Library as framework-agnostic and explains that testing approaches can transfer across React, jQuery plugins, and other component-based frameworks.

### Source excerpt

...yep, you read that right. Most of the course actually has nothing to do with React specifically.

## Why I Never Use Shallow Rendering

DevFeed: [Why I Never Use Shallow Rendering](<https://devfeed.tech/articles/why-i-never-use-shallow-rendering-51922.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/why-i-never-use-shallow-rendering>)

Published: 2018-07-23T00:00:00Z

Content type: opinion

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>)

Tags: [react](<https://devfeed.tech/tags/react.md>), [refactor](<https://devfeed.tech/tags/refactor.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

An opinionated explanation of why shallow rendering is avoided when testing React components. It argues that shallow-rendering tests can break during harmless implementation refactors while failing to detect application regressions, creating false confidence.

### Source excerpt

Tests should help me be confident that my application is working and there are better ways to do that than shallow rendering.

## Test Isolation with React

DevFeed: [Test Isolation with React](<https://devfeed.tech/articles/test-isolation-with-react-51886.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/test-isolation-with-react>)

Published: 2018-07-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [React Native](<https://devfeed.tech/topics/react-native.md>), [Maintainability](<https://devfeed.tech/topics/maintainability.md>), [reliability-engineering](<https://devfeed.tech/topics/reliability-engineering.md>), [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Jest](<https://devfeed.tech/topics/jest.md>)

Tags: [coverage](<https://devfeed.tech/tags/coverage.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [isolation](<https://devfeed.tech/tags/isolation.md>), [jest](<https://devfeed.tech/tags/jest.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [react](<https://devfeed.tech/tags/react.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

A tutorial on isolating React tests so they do not share mutable component state. It explains how independent test instances improve reliability, simplify refactoring and debugging, and increase confidence, using React Testing Library and Jest practices.

### Source excerpt

Why your tests should be completely isolated from one another and how to do that.

## Introducing the react-testing-library 🐐

DevFeed: [Introducing the react-testing-library 🐐](<https://devfeed.tech/articles/introducing-the-react-testing-library-51817.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/introducing-the-react-testing-library>)

Author: Kent C Dodds

Published: 2018-04-02T00:00:00Z

Content type: article

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [testing-library](<https://devfeed.tech/topics/testing-library.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [React](<https://devfeed.tech/topics/react.md>), [Library](<https://devfeed.tech/topics/library.md>), [Jest](<https://devfeed.tech/topics/jest.md>)

Tags: [jest](<https://devfeed.tech/tags/jest.md>), [library](<https://devfeed.tech/tags/library.md>), [react](<https://devfeed.tech/tags/react.md>), [testing](<https://devfeed.tech/tags/testing.md>), [testing-library](<https://devfeed.tech/tags/testing-library.md>)

### AI overview

The article introduces React Testing Library, a lightweight set of React DOM testing utilities designed to encourage maintainable tests that focus on user-visible behavior rather than implementation details. It explains how querying actual DOM nodes can improve accessibility and confidence during component refactoring, and contrasts the library with Enzyme.

### Source excerpt

A simpler replacement for enzyme that encourages good testing practices.