{"repo":"testing-library/dom-testing-library","free":true,"listed":false,"github":"https://github.com/testing-library/dom-testing-library","clone":"git clone https://github.com/testing-library/dom-testing-library.git","description":"🐙 Simple and complete DOM testing utilities that encourage good testing practices.","language":"JavaScript","stars":3330,"topics":["javascript","testing"],"license":"MIT","category":"dev-tools","readme_excerpt":"DOM Testing Library Simple and complete DOM testing utilities that encourage good testing practices. Read the docs Edit the docs [![Build Status][build-badge]][build] [![Code Coverage][coverage-badge]][coverage] [![version][version-badge]][package] [![downloads][downloads-badge]][npmtrends] [![MIT License][license-badge]][license] [![All Contributors][all-contributors-badge]](#contributors) [![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc] [![Discord][discord-badge]][discord] [![Watch on GitHub][github-watch-badge]][github-watch] [![Star on GitHub][github-star-badge]][github-star] [![Tweet][twitter-badge]][twitter] Table of Contents - The Problem - This Solution - Installation - Documentation - Guiding Principles - Contributors - LICENSE The Problem You want to write maintainable tests for your Web UI. As a part of this goal, you want your tests to avoid including implementation details of your components and rather focus on making your tests give you the confidence for which they are intended. As part of this, you want your testbase to be maintainable in the long run so refactors of your components (changes to implementation but not functionality) don't break your tests and slow you and your team down. This Solution The DOM Testing Library is a very light-weight solution for testing DOM nodes (whether simulated with JSDOM as provided by default with [Jest][] or in the browser). The main utilities it provides involve querying the DOM for nodes in a way tha","default_branch":null,"files":null,"tree":[],"storefront":"/r/testing-library","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/testing-library/dom-testing-library/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}