React Testing Tutorial (Jest + React Testing Library)

preview_player
Показать описание
Learn how to write unit tests for your React components using Jest and the React Testing Library.

Рекомендации по теме
Комментарии
Автор

Simply the best explanation from entire Youtube. I'm studying react from 2 years and test library was the worst part to find some good videos. Congrats!

marciocamollez
Автор

The most useful react jest testing tutorial video currently on YouTube. Thank you!

skyhawksp
Автор

For a 3 years ago video, this is high quality staright to the point content. Thanks Man

andersonsimeon
Автор

Thank you so much for this tutorial! I would agree with the other comments too about seeing a more involved testing suite using a state library. But this was by far the best video I've seen on using jest. Keep the videos coming

peacekper
Автор

Excellent video! I have been waiting a video like this with React Testing in an useful way for a long time.

JuaNeMe
Автор

Great tutorial mate, would love to see a more complicated test suite on a component that is using redux!

Whiskey
Автор

Thank you Kris for the wonderful learning videos . Just a small suggestion. The test was failing with '<strike>' so at 16:44 please change from to

SoftwareSimplified-Dtons
Автор

Uff thanks man! I have been all day reading the jest and react docs and wasn't understanding how to use these techs XD you just teched me how to properly unit test my UI lib.

christonit
Автор

Excellent video. I went from zero to added to my projects in 22 minutes and 15 seconds

carlosg
Автор

Excellent tutorial, lots of good info in 20 minutes!

jackstorm
Автор

Very simple and so far the best. Thank you.

rupeshmody
Автор

Perfect tutorial! Really easy to understand

chenyangwang
Автор

Bru, your voice is so soothing. I'm rewatching this video tonight instead of ASMR lol.

seriouslee
Автор

most useful video so far ! :) Thank you!

gnumanoj
Автор

I'm getting the error as SyntaxError: Cannot use import statement outside a module, can you please help me with this

vadirajkanakagiri
Автор

thank you so much for great and brief react test explanation

mahmoudhamdy
Автор

Thanks for clear and simple explanation.

joseff
Автор

Great video, really well explained, thanks :)

jaceborg
Автор

Excellent, thanks a lot, was good to watch.

MrAndykofi
Автор

Hi Kris ! thanks for explanation, I know this video is 2 years old, is it possible for you to re-explain it with current state of Jest + React Testing Library? Probably some improvement here and there? And maybe you could help to explain about testing user event + mocking child component inside the component being tested. Thanks !

This is a very simple and great tutorial 👍

martinharyanto