/testcafe-testing-library

:ox: Simple and complete custom Selectors for Testcafe that encourage good testing practices.

Primary LanguageTypeScriptMIT LicenseMIT

testcafe-testing-library

ox

Testcafe selectors and utilities that encourage good testing practices laid down by dom-testing-library.

Read the docs | Edit the docs


testcafe-testing-library version downloads MIT License semantic-release

All Contributors PRs Welcome Code of Conduct Dependabot Status Discord

Watch on GitHub Star on GitHub Tweet

TestingJavaScript.com Learn the smart, efficient way to test any JavaScript application.

The problem

You want to use dom-testing-library methods in your Testcafe tests.

This solution

This allows you to use all the useful dom-testing-library methods in your tests.

Table of Contents

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:

npm install --save-dev @testing-library/testcafe

Usage

Usage Docs

Other Solutions

I'm not aware of any, if you are please make a pull request and add it here!

Contributors

Thanks goes to these wonderful people (emoji key):


Ben Monro

πŸ“– πŸ’» ⚠️ πŸš‡ πŸ€”

Kent C. Dodds

πŸš‡ πŸ€” πŸ’»

Mikhail Losev

πŸ’» πŸ’¬

Maarten Van Hoof

πŸ’»

Katsuya Hino

πŸ’»

Ned Schwartz

πŸ“–

Matej Ε nuderl

πŸ’» ⚠️

Tim Pinington

πŸ’» ⚠️

Nils Hartmann

πŸ›

This project follows the all-contributors specification. Contributions of any kind welcome!

LICENSE

MIT