🎁

12 Days of Baddass Courses sale! Get instant access to the entire egghead library of courses and lessons for 58% off.

Runs out in:
13 : 08 : 54 : 46
1×
Become a member
to unlock all features
Autoplay

    Intro to Testing JavaScript Workshop

    Kent C. DoddsKent C. Dodds
    javascriptJavaScript
    Code

    Code

    Become a Member to view code

    You must be a Member to view code

    Access all courses and lessons, track your progress, gain confidence and expertise.

    Become a Member
    and unlock code for this lesson
    Discuss

    Discuss

    Transcript

    Transcript

    Kent C. Dodds: 0:00 Hey, folks. What's up? My name is Kent C. Dodds, and I am going to be your teacher here on testingjavascript.com. I'm going to teach you everything you need to know about testing JavaScript applications, so you can ship your applications with confidence.

    0:13 We're going to start out from the very beginning. If you've never done any testing before, that's totally fine. We're going to start out with fundamentals of testing JavaScript. Then we'll get into some more advanced stuff like mocking JavaScript modules and that kind of thing.

    0:25 We'll also get into static testing using tools like ESLint, Prettier, and TypeScript. These tools will help you get rid of an entire category of bugs. You're going to really love that.

    0:36 We're also going to get into browser testing, so components UI, components with tools like React. If you're not using React specifically, then all of the things that I'm going to teach you about testing UI components or UI in general, are cross-applicable.

    0:52 Even if you aren't using a framework at all, lots of the things that I'm going to teach you are going to cross-apply to those. I have an entire module that shows you how to apply the same principles I show you with React to other frameworks and even non-frameworks like jQuery.

    1:07 You're going to really enjoy that. Any UI that you're building in the browser, you'll learn a lot of the things that you need to know for testing those things.

    1:16 We're also going to get into very technology agnostic testing with end-to-end testing using Cypress. You're going to love that, because we get into what the basic user flow for an application is. Those kinds of tests give you a huge amount of confidence. I strongly recommend that you have at least a couple, if not more, of those kinds of tests in your application.

    1:38 These tools are not necessarily really easy. They are super powerful. We have an entire module on how to configure Jest, because it's way more than just a testing framework. It's a testing platform. There are so many things that you can do with it, and we dive into a whole lot of those options that you can use. I demonstrate to you why you might want to use one configuration over another.

    2:01 We also even get into the back end. If you want to learn how to unit and integration test your back end, we've got you covered with our testing Node module here in the testingjavascript.com course.

    2:13 Then we have expert interviews that you're going to love, and some printouts that you should definitely check out. We are going to get you set up and rocking and rolling with testingjavascript. I'm super excited that you're here, and I hope you enjoy testingjavascript.com.