Vue CLI 3 Quick Start Guide by Ajdin Imsirovic
Author:Ajdin Imsirovic [Ajdin Imsirovic]
Language: eng
Format: epub
Tags: COM060130 - COMPUTERS / Web / Design, COM051300 - COMPUTERS / Programming / Algorithms, COM056000 - COMPUTERS / Utilities
Publisher: Packt Publishing
Published: 2019-04-30T23:03:20+00:00
Testing in Vue CLI 3
In the previous chapter, we examined the role of Babel in modern JavaScript development. We've also seen some practical examples of using it in Vue. In this chapter, we will introduce testing in JS. We will get acquainted with testing in general and see it in practice using Jest and Cypress. We'll discuss assertions and test-driven development (TDD). We'll then move on to understanding how Jest and Cypress work with Vue CLI 3. We'll discuss test utils and test cases. Specifically, we'll look at the following:
Understanding Vue plugins
Adding the Jest plugin to our Vue app
Writing unit tests inside a Vue app with Jest
Running tasks from the project tasks page
Running unit tests inside the Vue CLI UI
Working with assertions
Implementing TDD
Working with Cypress
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Content Management | Programming |
User Experience & Usability | User Generated Content |
Web Design | Web Marketing |
Web Services | Website Analytics |
Hello! Python by Anthony Briggs(9373)
The Mikado Method by Ola Ellnestam Daniel Brolund(9307)
Dependency Injection in .NET by Mark Seemann(8859)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7402)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7116)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6250)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5957)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5513)
Kotlin in Action by Dmitry Jemerov(4638)
Audition by Ryu Murakami(4099)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(3886)
Functional Programming in JavaScript by Mantyla Dan(3723)
Svelte with Test-Driven Development by Daniel Irvine(2904)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2838)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2602)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2558)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(2516)
Test-Driven Development with PHP 8 by Rainier Sarabia(2499)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2340)