Test with Jest: Learn Properly from Zerocho

In this lecture, we will show you when testing is necessary and the advantages of testing using the Jest framework. We will apply unit testing and integration testing to React, Express, etc.

(5.0) 수강평 30개

강의소개.상단개요.수강생.short

난이도 초급

수강기한 무제한

Software Test
Software Test
Jest
Jest
react-testing-library
react-testing-library
SuperTest
SuperTest
unittest
unittest
Software Test
Software Test
Jest
Jest
react-testing-library
react-testing-library
SuperTest
SuperTest
unittest
unittest

먼저 경험한 수강생들의 후기

먼저 경험한 수강생들의 후기

5.0

5.0

RyuWoong

51% 수강 후 작성

I tried to introduce tests using Jest, but unlike the library description, there were many more difficult points than I thought. I really like this lecture because it explains only the basics and the core without any unnecessary details. I highly recommend it to anyone who wants to learn Jest from scratch! 👍

5.0

김형

60% 수강 후 작성

As a top-tier instructor in the JavaScript field, Zerocho's lectures are like taking a healthy medicine like ginseng, as he easily and accurately explains the basics/importance/practice of Jest that you shouldn't miss.

5.0

Cliche

83% 수강 후 작성

For those who are new to testing or have only heard of Jest but have never used it, this might be the best course. It is structured so that you can use Jest for everything from small unit tests to large integrated tests, so that you can apply it in practice. Also, any questions or concerns that you may have while using JEST are already answered in the lecture in a self-answer format, so you don't have to ask. Lastly, the curriculum list is intuitive. You don't get everything from listening to the lecture once; you have to listen to it two or three times, and this curriculum list helps us solve our questions and concerns right away. This alone is good because it takes a big step forward in solving them.

강의상세_배울수있는것_타이틀

  • How to use Jest

  • How to write test code

  • Precautions during testing

  • Unit testing, integration testing

  • Snapshot test

Wondering whether you should automate testing your code? 🤔

With so much work to do, you're probably wondering whether you should set aside time to write software tests. You've likely seen online posts like "You absolutely must test" and "You should implement TDD (Test-Driven Development)," further deepening your concerns.

In this lecture, we'll first explain whether testing is necessary in your current situation and then demonstrate the benefits of testing through code. This isn't a lecture that forces you to test. If you feel the need for testing yourself after watching the lecture, try implementing the tests you learned in the lecture!

Features of this course

📌 This lecture isn't written from the perspective of insisting on testing. I hope you'll feel the need to test yourself while watching the lecture.

📌 Rather than simply introducing the testing tool APIs, we'll introduce the mindset and best practices for testing. Among the numerous Jest APIs, we'll focus on the ones most frequently used in practice.

📌 This is not a TDD course. This course teaches how to add unit and integration tests to existing React or Express code. The goal is 100% test coverage.

📌 This course assumes basic JavaScript knowledge. Rather than a tutorial, this is a hands-on course where you'll learn about various mocking techniques and feel the need for them through observing me conducting tests.

I recommend this to these people

I'm wondering if I should take the test.

I've heard that testing is good, but I'm a developer who's wondering if it's worth setting aside time to do it.

Where should I start testing?

Developers who need to write test code by necessity or by company direction but are at a loss as to where to start

What is effective testing?

Developers who are writing tests but are worried about whether the tests are correct or efficient.

After class

  • You will be able to set up Jest in your existing project (React, Express).

  • You will be able to write unit tests and integration tests for existing projects (React, Express).

  • With just a little bit of effort, you can achieve 100% test coverage.

  • This will help you decide which parts to mock.

Learn about these things

Testing with the Visual Studio Code Jest plugin!

Achieving 100% test coverage isn't difficult (just tedious... 😊😊)

Learn about unit testing, integration testing, and E2E testing.

No more tests that fail after running them twice! Snapshot testing (aka stuffed animals) solves the problem!

Things to note before taking the course

Practice environment

  • Windows 11

  • node.js 22

  • Jest 29

  • The practice environment doesn't really matter.

Learning Materials

Player Knowledge and Precautions

  • Basic JavaScript syntax

  • Front-end experience such as React or back-end experience such as Express or Nest.js

  • Rather than just following along, try to apply what you learned from the lectures to your own code.

  • If you get stuck while testing, please ask a question along with the source code and we will think about it together.

강의소개.콘텐츠.추천문구

학습 대상은 누구일까요?

  • For those who want to try the test but don't know how to start

  • Anyone who feels the need for testing because bugs keep recurring

  • For those who are wondering if testing increases development productivity

  • Anyone who wants to write effective tests

선수 지식, 필요할까요?

  • JavaScript

  • TypeScript (no need to be proficient)

  • npm

강의소개.지공자소개

67,379

수강생

1,726

수강평

9,762

답변

4.8

강의 평점

25

강의_other

One of the key strengths of my courses is the Q&A support (Winner of the Inflearn Q&A King award twice). I respond to your questions within 24 hours, doing my best to help you out! I’ll answer your questions with the mindset that we are tackling the problems together!

One of the key strengths of my courses is the Q&A support. (Winner of the Inflearn Q&A King award twice) I respond to your questions within 24 hours, doing my best to help you out! You’ll feel like we’re solving the problems together.

👉ZeroCho Lectures
ZeroCho's full lecture roadmap. A complete roadmap of all my courses is available here.

– Author of Node.js Textbook, Self-Guided JavaScript by ZeroCho, Let's Get IT JavaScript, and TypeScript Textbook
ZeroCho.com Operator
– Currently) Broadcasting development-related content on ZeroCho TV via YouTube
– Formerly) Smoretalk CTO
– Formerly) CTO of Today's Pickup (Youngest Development Team Lead at Kakao Mobility after exit to Kakao Mobility)

  • Author of Node.js Textbook, Self-Guided JavaScript by ZeroCho, Let's Get IT JavaScript, and TypeScript Textbook

  • Operator of ZeroCho.com

  • Currently running a YouTube channel ZeroCho TV, covering development topics

  • Former CTO at SmoreTalk

  • Former CTO at Today Pickup (acquired by Kakao Mobility, where I became the youngest lead developer)

더보기

커리큘럼

전체

53개 ∙ (강의상세_런타임_시간 강의상세_런타임_분)

강의 게시일: 
마지막 업데이트일: 

수강평

전체

30개

5.0

30개의 수강평

  • apk님의 프로필 이미지
    apk

    수강평 11

    평균 평점 5.0

    5

    60% 수강 후 작성

    As a top-tier instructor in the JavaScript field, Zerocho's lectures are like taking a healthy medicine like ginseng, as he easily and accurately explains the basics/importance/practice of Jest that you shouldn't miss.

    • ryuwoong님의 프로필 이미지
      ryuwoong

      수강평 4

      평균 평점 5.0

      5

      51% 수강 후 작성

      I tried to introduce tests using Jest, but unlike the library description, there were many more difficult points than I thought. I really like this lecture because it explains only the basics and the core without any unnecessary details. I highly recommend it to anyone who wants to learn Jest from scratch! 👍

      • joduchan8421님의 프로필 이미지
        joduchan8421

        수강평 2

        평균 평점 5.0

        5

        30% 수강 후 작성

        • stronghu956460님의 프로필 이미지
          stronghu956460

          수강평 3

          평균 평점 5.0

          5

          83% 수강 후 작성

          For those who are new to testing or have only heard of Jest but have never used it, this might be the best course. It is structured so that you can use Jest for everything from small unit tests to large integrated tests, so that you can apply it in practice. Also, any questions or concerns that you may have while using JEST are already answered in the lecture in a self-answer format, so you don't have to ask. Lastly, the curriculum list is intuitive. You don't get everything from listening to the lecture once; you have to listen to it two or three times, and this curriculum list helps us solve our questions and concerns right away. This alone is good because it takes a big step forward in solving them.

          • testtestetst님의 프로필 이미지
            testtestetst

            수강평 2

            평균 평점 5.0

            5

            49% 수강 후 작성

            It seems like a good lecture to learn and apply quickly because it explains only the really necessary parts concisely. The editing is also clean and good. It goes beyond simply explaining the concepts and also talks a lot about experiences, so you can get a lot of helpful content.

            zerocho님의 다른 강의

            지식공유자님의 다른 강의를 만나보세요!

            비슷한 강의

            같은 분야의 다른 강의를 만나보세요!

            강의상세.할인문구

            $30,800.00

            30%

            $34.10