Unit Testing in Javascript | Writing Automated Tests With Jest

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Learn why we write automated tests and how to write automated unit tests in JavaScript using the jest test framework.
    🔗TDD:
    • TDD in JavaScript | Te...
    🔗Code:
    github.com/Sam...
    🔗Moar Links
    My Website: www.sammeechwa...
    Instagram: / meech_ward
    Github: github.com/org...
    github.com/Sam...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 41

  • @luisfilipecoelho2185
    @luisfilipecoelho2185 2 ปีที่แล้ว +9

    That was the best introduction to tests I could be looking for! You nailed the explanation on why to write tests and introducing it to someone who wants to learn and implement TDD to their programming techniques. Thank you!

  • @sammygopeh7578
    @sammygopeh7578 ปีที่แล้ว +4

    This is literally the best intro to testing anyone could ask for! Thank you so much

    • @SamMeechWard
      @SamMeechWard  ปีที่แล้ว

      Glad you liked everything so much

  • @unstable_diffusion
    @unstable_diffusion 3 ปีที่แล้ว +1

    Yor channel is gold. Clear explanations with clear examples. Keep it up.

  • @edward8064
    @edward8064 2 ปีที่แล้ว +3

    The intro is exactly explaining my pain doing manual testing. It is super tedious when the feature I want to test is not in the first page of my web.

  • @alexanderbell7736
    @alexanderbell7736 3 ปีที่แล้ว +2

    That was great. Now I know what automated unit testing is. I'm going to try jest in my next project.

  • @mohitsaud2071
    @mohitsaud2071 ปีที่แล้ว +1

    Clearly defined, and well explained. A great tutorial.

  • @unhandledexception1948
    @unhandledexception1948 11 หลายเดือนก่อน

    what a fantastic motivation to start writing tests,

  • @clydencube384
    @clydencube384 3 ปีที่แล้ว +2

    Awesome!!! To the point and loving it's within a real application scenario.

  • @nathapon6866
    @nathapon6866 2 ปีที่แล้ว +1

    Thank for such a great explanation I finally grasp it.

  • @jonasex3001
    @jonasex3001 3 ปีที่แล้ว +4

    I am from the future and I just checked it 🤯. Great content. Thanks

  • @lilith-sar
    @lilith-sar ปีที่แล้ว

    You're amazing man!! Thank you for making this helpful video. I never thought that unit tests were this simple.

  • @AwesomeEnterpriseInc
    @AwesomeEnterpriseInc 3 ปีที่แล้ว +2

    Another great video Sam!! Fearless refactoring ftw!

    • @SamMeechWard
      @SamMeechWard  3 ปีที่แล้ว

      Get your students testing 🤗

  • @vimanshuchandra
    @vimanshuchandra 7 หลายเดือนก่อน

    this is a really good and simple video. thank you.

  • @hamzayousfi4275
    @hamzayousfi4275 3 ปีที่แล้ว +2

    great approach !

  • @mhamadsafa7166
    @mhamadsafa7166 2 ปีที่แล้ว +1

    Great explanation thank you

  • @simoncordova5655
    @simoncordova5655 3 ปีที่แล้ว +2

    Dude - Amazing video great content

  • @diehldrifts
    @diehldrifts 2 ปีที่แล้ว +1

    awesome!

  • @madhavvyas9738
    @madhavvyas9738 ปีที่แล้ว

    Excellent explaination and flow of training

  • @syedkausarali2846
    @syedkausarali2846 3 ปีที่แล้ว +2

    This was such a nice explanation

  • @izabayojonas3380
    @izabayojonas3380 3 ปีที่แล้ว +1

    Great & helpful course thanks !

  • @NinjaJutsu-y4d
    @NinjaJutsu-y4d 7 หลายเดือนก่อน

    Wonderful introduction

  • @jayantrohila
    @jayantrohila 9 หลายเดือนก่อน

    Thanks for the explanation

  • @pulsechainalltheway1845
    @pulsechainalltheway1845 3 หลายเดือนก่อน +1

    I am from the future, so I'm checking it out right now

  • @hypetv3318
    @hypetv3318 2 ปีที่แล้ว +1

    great video

  • @beeyarp
    @beeyarp ปีที่แล้ว

    beautifully done

  • @asrn1739
    @asrn1739 9 หลายเดือนก่อน

    Definitely helpful thanks

  • @raba650
    @raba650 2 ปีที่แล้ว +1

    I usually break my backend folders to having 1 for routes, controllers, models. If I remove a function from my controller to test it in isolation, what folder name would be a good place to store it in?

  • @nemanjadjoric8765
    @nemanjadjoric8765 2 ปีที่แล้ว

    Awesome ....!!! Thank you a lot !!! :)

  • @jevessonsouza7947
    @jevessonsouza7947 ปีที่แล้ว

    Two words: THANK YOU!
    Be fine mate!

  • @alirezak5870
    @alirezak5870 ปีที่แล้ว

    thank u sam

  • @johnodev2732
    @johnodev2732 ปีที่แล้ว

    Seem to have some issues with starting the application? When installed and started i receive a "Failed to load resource: the server responded with a status of 404 (Not Found)"

  • @ahmedelgaidi
    @ahmedelgaidi ปีที่แล้ว

    Super amazing

  • @OmgImAlexis
    @OmgImAlexis 2 ปีที่แล้ว

    I don't see what part of this comes under the "automated" part.

    • @SamMeechWard
      @SamMeechWard  2 ปีที่แล้ว

      Because instead of a human doing the testing, code is doing the testing. That’s what programmers mean when they automate things. Code do the thing instead of human.

  • @aprilm2941
    @aprilm2941 3 ปีที่แล้ว +2

    🤗

  • @gelo2360
    @gelo2360 2 ปีที่แล้ว

    How to you make Jest work with ES6 ? It returns me errors

    • @SamMeechWard
      @SamMeechWard  2 ปีที่แล้ว

      sammeechward.com/jest-and-esmodules/