React Testing Library With Jest Tutorial For Beginners | How To Test React Components ?

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • Apply Now for free: bit.ly/35Rq2RY
    AccioJob is an IIT Delhi alumni-led startup that runs a 6 month Pay after Placement Full Stack Web Dev Training. Students are trained on Data Structures and Algorithms, Full Stack Web Development and backend
    web development. Students get placed above 5 LPA. AccioJob students are working at Amazon, Walmart, VISA, BharatPe, Paytm, ThoughtWorks
    and 190+ more companies.
    Key Highlights of the program:
    - ZERO fees till Placement above 5 LPA in Software Development
    - Average CTC: 8.3 LPA; Highest CTC: 41LPA
    - Dedicated placement team & Interview preparation
    - Industry-relevant Projects, Mock Interviews, Resume & Portfolio building
    Eligibility: Graduate or Final Year of ANY DEGREE
    Take your career on an exponential growth path now!
    For any queries, you can WhatsApp or call on 8595563221
    In this video we will learn about unit testing in React application using React testing library for testing React components and Jest as test runner.
    This will be a beginner friendly tutorial and we will first understand what is React Testing Library, some rules and how jest is associated with it and after that we will write the unit test cases for our React Login application.
    ⭐️ GitHub link for Reference - github.com/dma...
    ⭐️ React Testing Library - testing-librar...
    ⭐️ Support my channel - www.buymeacoff...
    🔗 React Roadmap for Developers in 2021*
    How to Learn React JS ? - • React JS Roadmap for D...
    React Fundamentals Project - • Learn React JS Fundame...
    Learn React Redux with Project - • Learn React Redux with...
    What is Redux ? - • Understanding Redux Co...
    Learn React Redux Thunk with Project - • Learn React Redux Thun...
    Learn CSS GRID Tutorial - • Learn CSS GRID Tutoria...
    🔗 Social Medias 🔗
    Twitter: / imdmalvia
    Facebook: / programmingwithdipesh
    Instagram: / dipeshmalvia
    LinkedIn: / dmalvia
    ⭐️ Tags ⭐️
    - React Testing Library Crash Course
    - React Testing Library Tutorial
    - How to Test React Components
    - Learn React Testing Library With Login Form
    - Start Testing In ReactJs
    ⭐️ Hashtags ⭐️
    #React #Testing #Library #Beginners #Tutorials
    Disclaimer:
    It doesn't feel good to have a disclaimer in every video but this is how the world is right now.
    All videos are for educational purpose and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.

Komentáře • 69

  • @DipeshMalvia
    @DipeshMalvia  Před 2 lety +2

    Apply Now for free: bit.ly/35Rq2RY
    AccioJob is an IIT Delhi alumni-led startup that runs a 6 month Pay after Placement Full Stack Web Dev Training.

  • @purnashankar7344
    @purnashankar7344 Před 2 lety +5

    I have been waiting for this from long time.Thanks Dipesh , commenting even before watching it.

  • @surajdedhia9584
    @surajdedhia9584 Před 2 lety +10

    That's great tutorial. Could you please also post more advance testing example i.e. testing hooks, async calls, reading window events like fetch value from localStorage or sessionStorage etc.

  • @saketabhishek5147
    @saketabhishek5147 Před 2 lety +8

    Please make more video on react testing library it's a request bro. How to test Api ,use graphql hooks and many others

  • @shwethasai9663
    @shwethasai9663 Před 2 lety +1

    I have been waiting for this tutorial..exact correct time u uploaded..many thanks to u

  • @syedshaffeque3444
    @syedshaffeque3444 Před 2 lety +1

    Excellent, I have been waiting for this tutorial. Eagerly waiting for videos on mock apis ,functions and coverage reports

  • @raj-thombare
    @raj-thombare Před rokem +1

    great and simple explanation! i started with react + firebase then Node Express now jest!

  • @aadimanchekar1032
    @aadimanchekar1032 Před 2 lety +1

    Ah gold mine! Pls upload more videos on testing react applications for beginners

  • @revanthkumarsake7035
    @revanthkumarsake7035 Před 2 lety +1

    no words, very clean and neat explanation. best video even for 0 knowledge. Thank you so much brother

  • @saptarshimukherjee5539
    @saptarshimukherjee5539 Před 2 lety +1

    plz make more videos in react testing library and jest its a request🙂

  • @adammsangi
    @adammsangi Před 2 lety +2

    Always my mentor

  • @shreyash8273
    @shreyash8273 Před rokem

    Thanks sir. First time learned about testing.

  • @DeepakGupta-pz4fx
    @DeepakGupta-pz4fx Před 2 lety +2

    Thank you sir 😊 ❤❤ your consistency hard work 👏 🙏

  • @gmjitendra
    @gmjitendra Před rokem +1

    Very well covered and explained scenarios. Thanks Dipesh :)

  • @prajwalkv1175
    @prajwalkv1175 Před 2 lety +1

    Great tutorial. I was looking for this. Thank you so much😀

  • @Potnurulaxmiprasad
    @Potnurulaxmiprasad Před 2 lety

    Tq u brother bcz it will help to clear my project keep continue bro and do the videos on backend like springboot,hibernate..

  • @zhangshiyucao
    @zhangshiyucao Před 8 měsíci

    Great tutorial. However i think a more useful test for the email field would be to expect a validation error to appear on the screen

  • @ikik790
    @ikik790 Před 6 měsíci

    Informative tutorial.. make more for api calls as well

  • @IndianGermanDiaries
    @IndianGermanDiaries Před rokem +1

    That's one of a gem tutorial buddy :)

  • @yogitasonpitale8194
    @yogitasonpitale8194 Před 2 lety

    Thankx a lot for this video..i was looking for this kind of video since long time..

  • @ganeshk8410
    @ganeshk8410 Před 2 lety +2

    Thanks @dipesh.
    Also please teach us to mock apis ,functions etc

  • @shishirrai1069
    @shishirrai1069 Před 2 lety +2

    Please make video on enzyme and jest

  • @universecode1101
    @universecode1101 Před 2 lety +2

    Nice 😄✌🏻

  • @mailjamalmd
    @mailjamalmd Před 2 lety +1

    Awesome man! Thanks 🙂

  • @ritamehra3186
    @ritamehra3186 Před 2 lety +1

    really valuable knowledge. thank you for sharing :)

  • @manimaran-pr8rg
    @manimaran-pr8rg Před 2 lety

    Its amazing login form test cases.Can you have a do video for use reducer redux test cases RTL with jest.

  • @jitujahagirdar613
    @jitujahagirdar613 Před rokem

    how to determined which test case write or not ?
    is there any code coverage that know you have to write a test case for reaming code coverage or not ?

  • @RohitSainiHaryana
    @RohitSainiHaryana Před rokem +1

    Great tutorial 🎉🎉🎉

  • @foodsampatti9522
    @foodsampatti9522 Před rokem

    do we need to add test-id every time?? like if for example there is a sideNavbar how do we need to create that test code?

  • @harishg9429
    @harishg9429 Před 2 lety

    Great video, thanks Dipesh. Could you also make a video on testing mock data. Thanks

  • @janiirigi907
    @janiirigi907 Před 2 lety

    Wonderful !! Could you also make on how test hooks and mock APIs.. Thanks in advance 😊

  • @poojanb3566
    @poojanb3566 Před 2 lety

    I have some queries and want to discuss with you. Is there any online chat facility is available?

  • @Shubhu284
    @Shubhu284 Před rokem

    awasome

  • @user-bs8rl5zz1u
    @user-bs8rl5zz1u Před 10 měsíci

    bro why should we use test cases ?? in ract js ??

  • @nouhiering
    @nouhiering Před rokem

    helpful :D Thanks

  • @KrzysztofChrzan
    @KrzysztofChrzan Před 4 měsíci

    Are these unit tests?

  • @letslive3782
    @letslive3782 Před 2 lety

    Sir, how many more videos are there in this playlist?

  • @timquattrochi8009
    @timquattrochi8009 Před rokem +1

    How can I solve " SyntaxError: Cannot use import statement outside a module" when trying to test react applications?

  • @motivationalstory17
    @motivationalstory17 Před 2 lety

    Please more video on redux and hook testing

  • @madhumangal2664
    @madhumangal2664 Před rokem

    How do we transition to react 18, if we have lot of enzyme based tests

  • @abhi_8243
    @abhi_8243 Před 2 lety

    Please make a video on enzyme. Please sir

  • @CodeGeekStudio
    @CodeGeekStudio Před rokem +1

    i am getting this error Cannot read properties of undefined (reading 'body')

    • @CodeGeekStudio
      @CodeGeekStudio Před rokem

      Please sir help me how can I solve this issue?

  • @ittelugodikosam2231
    @ittelugodikosam2231 Před rokem

    how test methods ( which have some javascript logic inside ) of react component . ?

  • @harishgangadharappa9715
    @harishgangadharappa9715 Před 2 lety +1

    Thank you

  • @amitchaudhary3760
    @amitchaudhary3760 Před 2 lety

    Thank you !! 😊

  • @realindian9721
    @realindian9721 Před 2 lety

    Sir jii wordpress woocommerce with gatsby or react js par bhi series bna doh plz

  • @UdayPawarUdi
    @UdayPawarUdi Před rokem

    Nicevideo

  • @jakobskovsndergard7912

    is this for react 18?

  • @poojanb3566
    @poojanb3566 Před 2 lety

    Hi