Introduction to Unit Testing in Jest - The Fundamentals
Offered By: Coursera Project Network via Coursera
Course Description
Overview
In this 1-hour long project-based course on Introduction to Unit testing In Jest, we will get to explore the anatomy of a Jest unit test, and begin writing code and subsequently, the tests for that code using the Jest framework.
By following this course, we will demystify unit tests and understand how we can use them to write better code. we will get practise across the general landscape of the Jest framework to and see how we can use the cool tools provided to us by the awesome Jest developers
We will learn all about the syntax of a test, general rules, common matchers, and then start working with testing in asynchronous code and API fetching and then move on to mocking.
Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.
Syllabus
- Project Overview
- Hello and welcome to the course! In this course you will get hands-on practise of setting up code and writing tests for that code in Jest. During this course you will get experience working across the whole of the Jest framework, from understanding the anatomy of a test, working with various matchers, data-types, to learning how to handle testing in asynchronous code, using mocks and writing setup and teardown code for repetitive actions. By the end of this course you will be ready to begin writing your own tests on your own personal projects or to contribute to work projects.
Taught by
Rudi Hinds
Related Courses
Building Interactive User Interfaces Using React LibraryNIIT StackRoute via Coursera Learn React Testing
Codecademy Software Testing for Developers
Codio via Coursera Beginner's Guide to Unit Testing
Scrimba via Coursera Add Internationalization (i18n) to a React app using React Intl
egghead.io