오디오북 라이프의 시작

격이 다른 오디오북 생활을 경험해보세요!

  • 언제든 손쉽게 구독해지 가능
  • 월정액 11900원 부터
  • 무제한 청취
  • 총 5만권 이상의 영/한 오디오북
  • 온가족을 위한 다양한 오디오북
지금 바로 시작해보세요!
kr all devices
Cover for Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library

Testing Vue.js Components with Jest: A concise guide to testing Vue.js components using Jest and the official Vue Test Utils library

언어학습
영어
형식
컬렉션

논픽션

Unit test your Vue. js components with this fully-featured JavaScript testing framework

Key Features • Understand the various testing styles and their purpose

• 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. You'll learn the different testing styles and their structures. You'll also explore how your Vue. js components respond to various tests. You'll 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, you'll 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 is a Vue. js core team partner. He co-organizes Alicante Frontend and Vue Day. He is an instructor at Alligatorio and is interested in web performance, PWA, code quality, and the human side of code.

© 2019 Packt Publishing (전자책): 9781839211683

출시일

전자책: 2019년 10월 18일

다른 사람들도 즐겼습니다 ...

언제 어디서나 스토리텔

  • 국내 유일 해리포터 시리즈 오디오북

  • 5만권이상의 영어/한국어 오디오북

  • 키즈 모드(어린이 안전 환경)

  • 월정액 무제한 청취

  • 언제든 취소 및 해지 가능

  • 오프라인 액세스를 위한 도서 다운로드

인기

스토리텔 언리미티드

5만권 이상의 영어, 한국어 오디오북을 무제한 들어보세요

11900 원 /월

  • 사용자 1인

  • 무제한 청취

  • 언제든 해지하실 수 있어요

지금 바로 시작하기

패밀리

친구 또는 가족과 함께 오디오북을 즐기고 싶은 분들을 위해

매달 17900 원 원 부터

  • 2-3 계정

  • 무제한 청취

  • 언제든 해지하실 수 있어요

본인 + 1 가족 구성원2 개 계정

17900 원 /월

지금 바로 시작하기