Skip to content

Your opinion on vue-testing-library #4

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
afontcu opened this issue Apr 21, 2019 · 0 comments
Open

Your opinion on vue-testing-library #4

afontcu opened this issue Apr 21, 2019 · 0 comments

Comments

@afontcu
Copy link

afontcu commented Apr 21, 2019

First of all, thanks for this repo - it's full of wisdom and good ideas.

I was wondering if you had the chance to try vue-testing-library out. It is the port of dom-testing-library, which I believe is quite powerful and provides with a nicer starting point than using @vue/test-utils out of the box.

It favors rendering instead of shallow mounting, and provides with a "user-first" testing mindset - the additional queries focus on usability, and hidding methods such as "setState" help you avoind testing implementation details.

Again, thanks for this repo!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant