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

Unit testing and integration tests #42

Closed
silvestreh opened this issue Oct 5, 2016 · 10 comments
Closed

Unit testing and integration tests #42

silvestreh opened this issue Oct 5, 2016 · 10 comments

Comments

@silvestreh
Copy link

Would be really cool to see examples on how to do proper testing of Vue components and Vuex stores, mutations, and actions 😄

@elliotlarson
Copy link

I agree. I'm just starting out with Vue.js. I think the documentation and examples for Vue are pretty fantastic. Clearly a ton of work has gone into both, and they've made it possible to get up and running with Vue quickly. However, I like to test drive most of the code I write; partly because I like the TDD process, but also because I feel like it's a great way to learn. It would be awesome to have some more guidance from the core team on how they test the various part of a Vue app.

@mimani
Copy link

mimani commented Nov 23, 2016

+1

5 similar comments
@thulioph
Copy link

+1

@balibou
Copy link

balibou commented Apr 21, 2017

+1

@ruben-podadera
Copy link

+1

@itumoraes
Copy link

+1

@jbuget
Copy link

jbuget commented Aug 12, 2017

+1

@silvestreh
Copy link
Author

Don't hold your breath fellas. This seems to either be outside of the scope for this demo or super low priority, which I'd understand if any of those is the case.

To all collaborators: keep up the good work, Vue's awesome! ❤️

@john-ko
Copy link

john-ko commented Aug 12, 2017

theres vue-cli. if you run the demo project, you can build it with unit (karma) and e2e (nightwatch) tests

maybe you can incorporate those tests to the project?

@liron-navon
Copy link

@silvestreh @elliotlarson @john-ko @mimani

Hey, I wrote an article for my company's blog about writing tests for vue applications and setting up CI, I know It's a lot of changes for a single PR, but if you want you could merge these.
They include a few unit tests, e2e tests, and snapshot tests, and set up for CircleCI.
Unfortunately, I had a hard time mocking firebase in this project's setup 😥.

#355

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

10 participants