Jump to ratings and reviews
Rate this book

JavaScript Testing with Jest: A TDD Approach

Rate this book
If you want to learn how to develop 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 meant for automation testing professionals, software and web testers, and frontend web developers with intermediate-level JavaScript and beginner-level test automation skills. If you're a jasmine/mocha tester seeking to switch to Jest and take advantage of its features, this is an excellent resource. It is essential to have an intermediate understanding of JavaScript programming and a basic comprehension of web testing. Table of Contents Every Software Engineer Needs to Know Type of Testing Methodologies How to develop testable javascript code Javascript Design Patterns How to Setup Jest How to structure your test code jest Basics Testing asynchronous javascript functions with JestMock and SpyMock Functions Matchers Jest Tips and Tricks Code Coverage Configuring Jest Code Coverage Jest.CookBookTips

How to mock JQuery event using JESTHow to mock window property using JESTHow to mock Javascript Event using JESTHow to mock JQuery selector using JESTHow to mock a third-party library using JESTHow to mock javascript setInterval and setTimeout using JestHow to mock/test IntersectionObserver using JESTHow to write a unit test for HTML 5 WebComponent using JestHow to test Jquery ajaxTipsMock XMLHttpRequestTipsany many more..

300 pages, Kindle Edition

Published March 6, 2021

4 people are currently reading
9 people want to read

About the author

Santosh Singh

38 books7 followers
Santosh Singh,Senior Assistant Editor with The Indian Express, is a senior journalist, political analyst covering Bihar for over 18 years and has overall experience of 26 years in journalism.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
1 (50%)
2 stars
1 (50%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.