Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chuntley/react-testing-extended
Extends react-testing-library by including additional functionality for more natural testing.
https://github.com/chuntley/react-testing-extended
Last synced: 21 days ago
JSON representation
Extends react-testing-library by including additional functionality for more natural testing.
- Host: GitHub
- URL: https://github.com/chuntley/react-testing-extended
- Owner: chuntley
- License: mit
- Created: 2019-06-04T22:07:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T23:25:22.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T08:57:35.680Z (about 1 month ago)
- Language: JavaScript
- Size: 936 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-testing-extended
Extends [react-testing-library](https://github.com/testing-library/react-testing-library) by including additional functionality for more natural testing.
## Usage
`yarn add --dev react-testing-extended`
Follow the react-testing-library documentation, but instead of importing _@testing-library/react_, import `"react-testing-extended"`.
## New Features
In additional to the [react-testing-library documentation](https://testing-library.com/react), this library adds the following:
#### `id` Selectors
- queryById
- queryAllById
- getById
- getAllById
- findAllById
- findById#### `class` Selectors
- queryAllByClass
- getAllByClass
- findAllByClass## Versioning
This library will follow the major version numbering of react-testing-library.