Switching from Mocha to Tape and testing E2E

Switching from Mocha to Tape, Seeing if the E2E methodology holds up

vados

5 minute read

Switching from Mocha to Tape & testing E2E Before reading this post, it might make sense to check out my previous posts on the topic: Part 1 - Unit testing with JSPM, Mocha, and Vue.js Part 2 - More testing with JSPM, Mocha, and Vue.js Part 3 - Testing the DOM Part 4 - Switching from mocha to tape BONUS Want to see it all working? Check out the gitlab repo with a fully-built example

Testing DOM with Mocha, part 3

Getting DOM-level testing working with VueJS components & Mocha

9 minute read

Doing DOM-level tests with Mocha & VueJS (part 3…ish) Before reading this post, it might be helpful to check out my previous (or other) posts on the topic: Part 1 - Unit testing with JSPM, Mocha, and Vue.js Part 2 - More testing with JSPM, Mocha, and Vue.js Part 3 - Testing the DOM Part 4 - Switching from mocha to tape BONUS Want to see it all working?

vados

3 minute read

Testing with Mocha and JSPM (and SystemJS), continued So after messing with my testing set up for a while, I found that there was a little more setup required to get my components to test properly with mocha. tldr; some more setup is required to get the code in the previous blog post to work properly, check it out below: Multi-part blog post alert This is a multi-part blog-post!

Unit testing with JSPM (SystemJS), mocha and vue.js

A quick-start guide to testing with JSPM (SystemJS), mocha and vue.js

vados

2 minute read

Testing with Mocha and JSPM (and SystemJS) While vue offers a decent starting point for testing in it’s guide, I found the guide a little lacking in actual how-to. Also, one of my favorite javascript testing tools is mocha, and the specifics on how to integrate it (or jspm for that matter) are not on the site. Of course, it’s not the vue.js team’s job to integrate everyone’s tooling with vue.