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

How/what to test when testing vue components #1344

Closed
lmiller1990 opened this issue Dec 23, 2017 · 3 comments
Closed

How/what to test when testing vue components #1344

lmiller1990 opened this issue Dec 23, 2017 · 3 comments
Assignees
Labels

Comments

@lmiller1990
Copy link
Member

lmiller1990 commented Dec 23, 2017

Hi,

I would like to contribute to the cookbook, regarding how and what to test when testing Vue components.

I wrote this for the vue-test-utils documentation recently. I also write a lot about testing Vue components here, so maybe something based on those articles.

The main things I want to convey are

  • what is in the scope of unit tests
  • when to mock/stub
  • common pitfalls

Edit: I do not know how to assign a label.

@sdras
Copy link
Member

sdras commented Dec 28, 2017

Sounds like a great addition! We'd love to have something like this in the cookbook. You probably already found it, but there's a template we ask people to work from in the cookbook section. Let me know if you need anything else to get started. 🎉

@lmiller1990
Copy link
Member Author

Thanks @sdras . I will be working here, and ping you with a PR for feedback. Thanks!

@sdras
Copy link
Member

sdras commented Feb 1, 2018

You did it! Congrats! Thank you for your contribution 🙏

@sdras sdras closed this as completed Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants