Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/testing-library/nightwatch-testing-library
π¦Simple and complete custom queries for Nightwatch that encourage good testing practices.
https://github.com/testing-library/nightwatch-testing-library
testing
Last synced: about 5 hours ago
JSON representation
π¦Simple and complete custom queries for Nightwatch that encourage good testing practices.
- Host: GitHub
- URL: https://github.com/testing-library/nightwatch-testing-library
- Owner: testing-library
- Created: 2019-10-12T18:07:55.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T16:58:43.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T17:38:21.547Z (about 1 month ago)
- Topics: testing
- Language: JavaScript
- Homepage:
- Size: 849 KB
- Stars: 31
- Watchers: 4
- Forks: 11
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- stars - nightwatch-testing-library - library | 31 | (JavaScript)
- stars - nightwatch-testing-library - library | 31 | (JavaScript)
README
nightwatch-testing-library
nightwatch selectors and utilities that encourage good testing practices laid down by dom-testing-library.
[**Read the docs**](https://testing-library.com/docs/nightwatch-testing-library/intro) | [Edit the docs](https://github.com/alexkrolick/testing-library-docs)
[![Build Status][build-badge]][build]
[![version][version-badge]][package]
[![downloads][downloads-badge]][npmtrends]
[![MIT License][license-badge]][license]
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=testing-library/nightwatch-testing-library)](https://dependabot.com)
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#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]## The problem
You want to use [dom-testing-library](https://github.com/kentcdodds/dom-testing-library) methods in your [nightwatch][nightwatch] tests.
## This solution
This allows you to use all the useful [dom-testing-library](https://github.com/kentcdodds/dom-testing-library) methods in your tests.
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Other Solutions](#other-solutions)
- [Contributors](#contributors)
- [LICENSE](#license)## Installation
This module is distributed via [npm][npm] which is bundled with [node][node] and
should be installed as one of your project's `devDependencies`:```
npm install --save-dev @testing-library/nightwatch
```## Usage
[Usage Docs](https://testing-library.com/docs/nightwatch-testing-library/intro#usage)
## Other Solutions
I'm not aware of any, if you are please [make a pull request][prs] and add it
here!## Contributors
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Ben Monro
π π» β οΈ π π€
Kent C. Dodds
π π€ π»
Kevin Brewer
π€ π»
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## LICENSE
MIT
[npm]: https://www.npmjs.com/
[node]: https://nodejs.org
[build-badge]: https://github.com/testing-library/nightwatch-testing-library/workflows/nightwatch-testing-library/badge.svg
[build]: https://github.com/testing-library/nightwatch-testing-library/actions?query=branch%3Amain+workflow%3Anightwatch-testing-library
[coverage]: https://codecov.io/github/testing-library/nightwatch-testing-library
[version-badge]: https://img.shields.io/npm/v/@testing-library/nightwatch.svg?style=flat-square
[package]: https://www.npmjs.com/package/@testing-library/nightwatch
[downloads-badge]: https://img.shields.io/npm/dm/@testing-library/nightwatch.svg?style=flat-square
[npmtrends]: http://www.npmtrends.com/@testing-library/nightwatch
[license-badge]: https://img.shields.io/npm/l/@testing-library/nightwatch.svg?style=flat-square
[license]: https://github.com/testing-library/nightwatch-testing-library/blob/main/LICENSE
[prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
[prs]: http://makeapullrequest.com
[donate-badge]: https://img.shields.io/badge/$-support-green.svg?style=flat-square
[coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
[coc]: https://github.com/testing-library/nightwatch-testing-library/blob/main/other/CODE_OF_CONDUCT.md
[github-watch-badge]: https://img.shields.io/github/watchers/testing-library/nightwatch-testing-library.svg?style=social
[github-watch]: https://github.com/testing-library/nightwatch-testing-library/watchers
[github-star-badge]: https://img.shields.io/github/stars/testing-library/nightwatch-testing-library.svg?style=social
[github-star]: https://github.com/testing-library/nightwatch-testing-library/stargazers
[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20nightwatch-testing-library%20by%20%40benmonro%20https%3A%2F%2Fgithub.com%2Ftesting-library%2Fnightwatch-testing-library%20%F0%9F%91%8D
[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/testing-library/nightwatch-testing-library.svg?style=social
[emojis]: https://github.com/benmonro/all-contributors#emoji-key
[all-contributors]: https://github.com/all-contributors/all-contributors
[dom-testing-library]: https://github.com/testing-library/dom-testing-library
[nightwatch]: https://nightwatchjs.org/guide
[discord-badge]: https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square
[discord]: https://discord.gg/testing-library