Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/testing-library/testing-playground

Simple and complete DOM testing playground that encourage good testing practices.
https://github.com/testing-library/testing-playground

a11y browser-extension embeddable nodejs saas testing

Last synced: 7 days ago
JSON representation

Simple and complete DOM testing playground that encourage good testing practices.

Lists

README

        


Testing-Playground



[![test-tube](./public/icon.png)][emojione]

Simple and complete DOM testing playground that encourage good testing
practices.

[**online playground**][playground] | [next version][playground-next]


[![All Contributors](https://img.shields.io/badge/all_contributors-17-orange.svg?style=flat-square)](#contributors-)

**Playground for [testing-library/dom]**

![screenshot of unimported results](./docs/testing-playground-com.gif)

Testing-Library makes it easy to get started with testing. But even then, it can still be challenging to find the right queries or to understand why an element isn't being matched.

Testing-Playground provides you with direct feedback. Trying to visualize the direct impact of adding and removing specific (aria) attributes. All to give you some visual support while learning about the importance of aria roles, labels, and attributes.

## Embedding

[Testing-Playground][playground] can also be embedded. There is are two embed modes. Manual integration, and `oembed`.

### Oembed

To get started with `oembed`, you'll simply need to copy / paste your direct playground links into a supporting platform.

### Manual integration ([demo][embed-demo])

Follow the following steps if you wish to have an interactive playground on your website.

Add the following snippet directly before your closing `