강의

멘토링

로드맵

Inflearn brand logo image
Programming

/

Front-end

Fundamental front-end unit testing

We will teach you everything from basic concepts to situational test writing methods and advanced testing knowledge so that you can master everything about front-end unit testing.

(5.0) 4 reviews

57 learners

  • sowhatcoding
유닛테스트
tdd
테스트코드
3시간 만에 완강할 수 있는 강의 ⏰
Software Test
TDD
Jest
TypeScript
JavaScript

Reviews from Early Learners

What you will learn!

  • Unit Test Concepts and Advanced Testing Knowledge

  • How to write test code using Jest

  • Testing query functions using In-Memory DB

  • Separating test dependencies using Test Doubles

A course for developers who want to write test code properly .

You can easily master test writing through code examples.

Tests, are you really writing them well?

It seems like it would be easy to create tests if you just knew the test grammar.
Knowing grammar alone isn't enough to create a 'good' test suited to practical use.
For example, if you know about a testing technique called Mock,
It's difficult to create a good test if you don't know what to use, where to use it, and why to use it.


So, you need to understand the concept of testing and know which testing technique to use where.
You can write proper test code that increases the stability of your software.
But to do that, you need to know a lot and understand abstract testing philosophy.
In short, it's a bit difficult to learn (and it's also difficult to tell you😊😊)


So, the lecture was designed to make it easy to understand how to write tests using specific examples.
We created the course to ensure that all the knowledge required for the test is covered without any omissions, ensuring that there is no shortage of content.

I hope my lectures will help you grow into a developer who writes 'good' tests !

I recommend this to these people

For those who are new to testing

From test code basics to concepts
For those who want to learn properly at once

People who write tests in practice

I want to write good test code
People who are at a loss because they don't know what to do

Those who want to level up their development skills

Anyone who wants to master writing test code and grow into an intermediate developer

Features of this course

Rich test sample code

Rich test sample code

Learn how to write practical test code with rich code writing examples.
We provide easy-to-learn know-how so you can easily embody it.

Concept organization using diagrams and visual aids

Concepts that are difficult to understand in writing are explained with visual aids and tables.
I actively used it to increase my understanding of the concept.

Provides key summary lecture materials that can be viewed whenever needed

NO notes! Just look at the lecture materials and you will be able to fully understand and review the content.
The key lecture contents for each chapter are neatly organized into materials.

Learn about these things

Practical Test Knowledge

  • How to write unit tests using Jest

  • How to Unit Test Repository Functions Using Fake DB

  • Using Test Doubles to focus only on the functionality of the function being tested
    How to write real unit tests

Test Writing Philosophy and Know-How

  • What is the goal of unit testing and why dependencies should be separated?

  • How to apply testing techniques to different situations

  • What are the pros and cons of Unit Test and Integration Test?

  • What and how much testing should be done, etc.

If you have any concerns like this, please listen to this.

Q. I want to write test code, but I don't know where to start.

Don't worry, I'll teach you step by step from the basics, with examples to make it easier to understand.
After completing the lecture, you will master unit testing.

Q. I want to know how to create good tests.

In order to create good tests, you need to go beyond just learning the theory.
You need to know how to use the right testing techniques where they are needed.
Knowing only the concepts and usage can be half-baked knowledge.
So, I wrote the lecture examples to resemble situations you might encounter while writing actual test code.
If you follow the lectures carefully, you will be able to write test code that suits the situations you need in practice.

Q. I'm stuck while creating test code and I don't know how to solve it.

When you create test code, there are parts that you worry about or feel frustrated about.
We'll fill you with precise concept explanations and advanced testing knowledge.
After taking the course, you will find yourself becoming a testing expert.

Things to note before taking the course

Learning Materials

  • Example code: https://github.com/sowhatcoding/how-to-test

  • Documentation: Uploaded as a PDF attachment to each lecture chapter

    (Chapters that can be explained with example code only do not have separate documentation. You can just look at the example code!)

Player Knowledge and Precautions

  • The example code contains very basic Typescript and MongoDB code.

  • Even if you have no prior knowledge of TypeScript or MongoDB,
    If you have general knowledge of JavaScript or DB, you can understand the lecture content.

Recommended for
these people

Who is this course right for?

  • Developers who want to learn testing while building a solid foundation

  • Developers who want to create ‘good’ test code

Need to know before starting?

  • Typescript (Basic knowledge)

  • MongoDB (Basic Knowledge)

Hello
This is

1,616

Learners

72

Reviews

5.0

Rating

3

Courses

무료강의부터 천천히 들어보세요

Curriculum

All

35 lectures ∙ (3hr 14min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

4 reviews

5.0

4 reviews

  • byeong님의 프로필 이미지
    byeong

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    단순 jest 활용법이 아니라 유닛테스트란 무엇인지 배울 수 있었습니다.

    • 이진규님의 프로필 이미지
      이진규

      Reviews 3

      Average Rating 5.0

      5

      100% enrolled

      길지 않은 강의지만 요점만 정확하게 콕콕 찝어주는 좋은 강의였습니다!! 아는 동생에게도 이 과정을 추천하니, 강사님이 N 사 개발자분이라고 아는 분이라고 하던데요 ㅎㅎㅎ 흔히 들 어디 소속인지, 어디 출신인지 하면서 , 홍보하는 사람들 많은데, 오히려 그런것들 밝히지 않고, 순수 콘텐츠로만 승부하는게 더 신뢰감이 듭니다!

      • illy님의 프로필 이미지
        illy

        Reviews 1

        Average Rating 5.0

        5

        14% enrolled

        현재 IT에서 근무하고 있는 직장입니다! 갑자기 프론트엔드 쪽 업무를 해야하고, 유닛테스트를 잘 짜고 싶어서 해당 강의 찾아서 들었는데, 너무 도움 되고 좋았어요! 강의 시간도 길지도 않고, 들으면서 잘 따라할 수 있었습니다~! 다른분들도 도움 많이 받으시길 바라요!!

        • Seunghyeon Lee님의 프로필 이미지
          Seunghyeon Lee

          Reviews 21

          Average Rating 4.7

          5

          31% enrolled

          강의시작하자마자 코드구현과정없이 만들어진 코드로 바로 테스트코드설명을 해서 수강자입장에서는 친절하지 않은 강의를 돈주고 구매하는 이유가 없을것같아요~~ 10월12일 기준입니다~ --- 강의가 불친절하다고 생각했던 이유는 강의를 따라하기위한 샘플코드제공이 없다고 생각했고 그래서 강의를 보며 동일한 테스트코드를 작성하는데 불편함을느껴서 였습니다. 그런데 이후에 알게된것이 Gitgub repo링크로 샘플코드를 제공하고 있더라구요 제가 오해하고 잘못된 수강평을 남겼습니다 죄송합니다ㅠ 강의자체는 이해하는데 설명이 충분한편입니다. 오히려 간결해서 좋구요 기분상해서 달은 댓글이었데 친절하게답주셔서 감사합니다. 앞에 설명하셨는지는 모르겠지만 저처럼 놓친사람들을 위해서 수업자료란에 샘플코드 제공 -> [깃허브링크] 이런식으로 첨부해놓으면 좀 도움이 되지않을까 싶은데 고려해주심 감사할것같습니다!

          • 어쩔코딩
            Instructor

            안녕하세요! 강의 구매해주셨는데 시작부터 다소 막막한 느낌을 드린것같아서 먼저 사과 말씀 드립니다 불친절하다고 코멘트 드린 이유를 제 나름대로 생각해 봤는데요 아마 초반에 테스트코드가 필요한 이유(섹션2) 부분에서 테스트 코드의 장점을 말씀드리기 위해 예시로 전달드렸던 코드에 대한 설명이 불충분해서 그렇게 느끼시지 않았을까 생각됩니다. 말씀주신 내용 참고해서 더 고민해보고 예시와 장단점 두가지가 잘 이해되실수 있도록 강의 내용 수정을 고민해보도록 하겠습니다. 참고로 섹션2에서 전달드린 예제는 장단점에 대한 개념적 이해를 돕기 위한 코드이고 (그래서 '테스트가 있으면 이런게 좋구나~' 하고 개념만 이해하고 넘어가셔도 괜찮습니다!) 실제로 강의에서 본격적으로 다룰 테스트 코드에 대한 설명은 섹션4 Test Framework 부터 진행되니 섹션4 부터 한번 수강해주시고, 혹시 그래도 설명이 부족하거나 이해가 잘 안되는 부분이 있으시다면 '커뮤니티 > 질문' 에 글 남겨주시면 정성껏 답변드리도록 하겠습니다! 마지막으로 정말 리뷰가 하나하나 귀한데.. 시간내서 피드백 주셔서 감사하고 끝까지 강의 들어주시면 분명히!! 도움이 되실거라 감히 자부합니다 강의 들으시다가 궁금한 점은 언제든지 말씀주세요! 감사합니다

        $34.10

        sowhatcoding's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!