About 52 results
Open links in new tab
  1. Testing JavaScript

    Create end-to-end (e2e) functional tests for automated click-testing of critical paths instead of relying on your users to do it for you. These four layers of automated testing give you the playbook to ship …

  2. Intro to Fundamentals of Testing in JavaScript

    This is our "Fundamentals of Testing in JavaScript" module. I'm super excited for you to go through this because we're going to build our own little miniature version of Jest, so you get an understanding of …

  3. Analyze Jest Code Coverage Reports | Testing JavaScript

    00:26 This is what the file looks like in your source, but Jest doesn't run this file when it's running your test under coverage. It actually transforms this file using Babel into something that looks more like this.

  4. Fundamentals of Testing in JavaScript

    The best way to use a tool effectively is to understand how it works. And the best way to understand how a tool works is by making it yourself! In this short course, we’ll learn how testing frameworks and …

  5. Use DOM Testing Library to test any JS framework - Testing JavaScript

    This course explores the dom-testing-library using 11 different frameworks, from React to Svelte. You’ll get hands-on experience writing tests for any JavaScript framework, giving you the confidence you …

  6. Interact Directly with the Database | Testing JavaScript

    Sometimes that’s acceptable, but you can speed up your tests by getting your application into a testable state a little quicker. In this lesson we’ll skip hitting the API for our setup and instead interact directly …

  7. Intro to Test React Components with Jest and React Testing Library

    It is time for one of my favorite parts and that is testing with React testing library. Whether or not you're using React, you're going to want to watch this one for sure because all of the principles that we …

  8. Use Jest DOM for Improved Assertions | Testing JavaScript

    The Jest DOM library provides really useful extensions to jest’s built-in assertion library that will make it easier for us to write our test assertions (like toHaveTextContent).

  9. Throw an Error with a Simple Test in JavaScript

    In this lesson, we’ll get the most fundamental understanding of what an automated test is in JavaScript. A test is code that throws an error when the actual result of something does not match the expected …

  10. Test Pure Functions Overview | Testing JavaScript

    Of all things you can test, the easiest thing you can test is a pure function because they require no setup or teardown. In this exercise, we’ll explore testing a pure function called isPasswordAllowed.