Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Your opinion on vue-testing-library #4

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!

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

No branches or pull requests

1 participant