Alex Jover Morales - Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library
Here you can read online Alex Jover Morales - Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2019, publisher: Packt Publishing, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:
Romance novel
Science fiction
Adventure
Detective
Science
History
Home and family
Prose
Art
Politics
Computer
Non-fiction
Religion
Business
Children
Humor
Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.
![No cover](/templates/la/images/nocover.jpg)
- Book:Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library
- Author:
- Publisher:Packt Publishing
- Genre:
- Year:2019
- Rating:3 / 5
- Favourites:Add to favourites
- Your mark:
Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library: summary, description and annotation
We offer to read an annotation, description, summary or preface (depends on what the author of the book "Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.
Unit test your Vue.js components with this fully-featured JavaScript testing framework
Key Features
- Gain insight into how to test methods by avoiding dependencies
- Explore snapshot testing and its applications
Book Description
Unit testing in modern component-based JavaScript frameworks is not straightforward. You need a test suite that is reliable and runs quickly. Components are connected to one another, and the browser adds a layer of UI, which makes everything inter-dependent while we test components in isolation. Jest is a fully-featured JavaScript testing framework that will do all your work for you.
This book shows you how to test Vue.js components easily and take advantage of the fully-featured Jest testing framework with the aid of practical examples. Youll learn the different testing styles and their structures. Youll also explore how your Vue.js components respond to various tests. Youll see how to apply techniques such as snapshot testing, shallow rendering, module dependency mocking, and module aliasing to make your tests smooth and clean.
By the end of this book, youll know all about testing your components by utilizing the features of Jest.
What you will learn
- Set up a Vue-test project to get started with Jest
- Unit test your components using techniques such as shallow rendering
- Gain insights into how to test the reactive parts in the logic of the Vue.js components
- Explore how to test deeply rendered Vue.js components
- Perform easy and quick tests with module dependency mocking, module aliasing, and more
- Know-how and when to use snapshot testing
Who this book is for
If you are a programmer looking to make your development process smooth and bug-free, this is an ideal book for you. Prior knowledge and experience of JavaScript will help you quickly and easily grasp the concepts explained in this book.
Alex Jover Morales: author's other books
Who wrote Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library? Find out the surname, the name of the author of the book and a list of all author's works by series.