Skip to content

Conversation

patrickhulce
Copy link
Contributor

@patrickhulce patrickhulce commented Jul 12, 2018

What:
This PR adds a reference to another implementation of this library for use with puppeteer.

Why:
To have consistent integration test style when using puppeteer.

How:
Inject dom-testing-library into the page and proxy all method requests to it. See https://github.com/patrickhulce/pptr-testing-library :)

Checklist:

  • Documentation
  • Tests N/A
  • Ready to be merged
  • Added myself to contributors table N/A...yet :)

Thanks for the library, love it :)

Implementations include:

- [`react-testing-library`](https://github.com/kentcdodds/react-testing-library)
- [`pptr-testing-library`](https://github.com/patrickhulce/pptr-testing-library)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vue-testing-library isn't mentioned here even though it is elsewhere in the doc, should it be? Is this not the spot for related projects?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely should be mentioned!

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much!

Implementations include:

- [`react-testing-library`](https://github.com/kentcdodds/react-testing-library)
- [`pptr-testing-library`](https://github.com/patrickhulce/pptr-testing-library)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely should be mentioned!

@kentcdodds kentcdodds merged commit 3ba2600 into testing-library:master Jul 13, 2018
@patrickhulce patrickhulce deleted the patch-1 branch July 13, 2018 23:08
@kentcdodds
Copy link
Member

🎉 This PR is included in version 3.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

alexkrolick added a commit to alexkrolick/dom-testing-library that referenced this pull request Sep 13, 2018
* chore: issue templates

* make headings consistent

* use comments

* Update Feature_Request.md

* Update Question.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants