Skip to Content
Vue.js 2 Cookbook
book

Vue.js 2 Cookbook

by Andrea Passaglia
April 2017
Intermediate to advanced
454 pages
12h 51m
English
Packt Publishing
Content preview from Vue.js 2 Cookbook

How it works...

If this recipe looked like a lot of effort, don't despair, Vue templates already have this setup all sorted out inside them. You know how all this machinery works but when, in the later recipes, we use Webpack, you will only need one command to run e2e tests because everything is already set up.

Note how the title of the end-to-end test is rather generic, and it refers to a particular action flow rather than detailing the context and what is expected. This is common for e2e tests as you are usually better off building user stories and then branching them and naming each branch after a particular scenario. So, just to give an example, if we were expecting a response from the server and it didn't come back, we could test a scenario ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Vue.js 2

Learning Vue.js 2

Olga Filipova
Pro Vue.js 2

Pro Vue.js 2

Adam Freeman

Publisher Resources

ISBN: 9781786468093Supplemental Content