Add free shipping to your order with these great books
Testing JavaScript with Jest : A Practical Guide to testing vanilla JavaScript - santosh singh

Testing JavaScript with Jest

A Practical Guide to testing vanilla JavaScript

By: santosh singh

eBook | 1 May 2021

Sorry, we are not able to source the ebook you are looking for right now.

We did a search for other ebooks with a similar title, however there were no matches. You can try selecting from a similar category, click on the author's name, or use the search box above to find your ebook.

if you want to learn how to write javascript tests with jest, this book is for you. In this book, you'll find real-world examples of jest testing, such as testing JQuery event/selector, localStorage, IntersectionObserver, timer, and more.

Who this book is for

This book is intended for automation testing professionals, software and web testers, and frontend web developers with intermediate-level JavaScript and beginner-level test automation knowledge.
If you're a jasmine/mocha tester looking to migrate to Jest and take advantage of its features, this is a great resource.
It is necessary to have an intermediate understanding of JavaScript programming and a basic understanding of web testing.

Table of Contents
Every Software Engineer Needs to Know
Type of Testing Methodologies
How to write testable javascript code
Javascript Design Patterns
How to Setup Jest
How to organize your test code
Jest Basics
Testing asynchronous javascript functions with Jest
Mock and Spy
Mock Functions
Matchers
Jest Tips and Tricks
Code Coverage
Configuring Jest Code Coverage
Jest CookBook
Tips 1- How to mock JQuery event using JEST
Tips 2- How to mock window property using JEST
Tips 3-How to mock Javascript Event using JEST
Tips 4- How to mock JQuery selector using JEST
Tips 5 - How to mock a third party library using JEST
Tips 6- How to mock javascript setInterval and setTimeout using jest
Tips 7- How to mock/test IntersectionObserver using JEST
Tips 8 - How to write a unit test for HTML 5 WebComponent using jest
Tips 9- How to test Jquery ajax
Tips 10- Mock XMLHttpRequest
Tips 11- How to mock window.location.replace and href with Jest
Tips 12- How to mock and test javascript cookie
Tips 13- How to test HTML5 canvas API
Tips 14- How to test HTML5 FileReader API
Tips 15- How to test HTML5 localStorage

on