React Testing for Beginners: Start Here!

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 164

  • @programmingwithmosh
    @programmingwithmosh  11 місяців тому +9

    - Want to learn more? Get the full course: codewithmosh.com/p/react-testing-mastery
    - Subscribe for more videos like this: goo.gl/6PYaGF

    • @vinitgirde
      @vinitgirde 11 місяців тому +3

      Not able to buy this course from above link . The page shows " This product is not available. Contact the school owner for more information." Please check .

    • @SSan-n3q
      @SSan-n3q 11 місяців тому

      same here@@vinitgirde

    • @HeyMr.OO7
      @HeyMr.OO7 11 місяців тому

      Chutiya course 😂😂😂

    • @JaysonCraft-mf2pt
      @JaysonCraft-mf2pt 11 місяців тому

      @programmingwithmosh please I couldn't download the Python & SQL cheat sheets. It's given a response of the security certificate expiring 165days ago. It advised not to go further as it's unsafe for my PII in my device. Please help

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому +1

      @@JaysonCraft-mf2pt I’m sorry to hear that! I took a note and will fix it tomorrow morning.

  • @bcb3548
    @bcb3548 11 місяців тому +11

    Was looking up Vitest yesterday and Mosh drops this! Couldn't have been more auspicious.

  • @pandalife1313
    @pandalife1313 10 місяців тому

    This is the first video that explains everything about React Testing indetails and in a clear format. Thank you so much Mosh

  • @jlimsy1
    @jlimsy1 9 місяців тому +1

    The only course on React testing that I managed to complete without hitting unsolvable bugs left and right

  • @invertedcoder
    @invertedcoder 11 місяців тому +23

    Mosh has got some insane skilles

  • @tonishant
    @tonishant 11 місяців тому +14

    One of the best tutor on YT.

  • @mhdalyusuf
    @mhdalyusuf 9 місяців тому +1

    I am learning a lot from your videos and glad to have the membership 🙏 Thanks Mosh for being there!

  • @SaadxBaig
    @SaadxBaig 11 місяців тому +1

    Can’t wait to learn more about testing in react Mosh! The best teacher out there

  • @rohansachdeva627
    @rohansachdeva627 8 місяців тому

    Most underrated skill that only professional devs can appreciate. Thanks Mosh :)

  • @catalinionescu5658
    @catalinionescu5658 10 місяців тому

    Best course on react testing on YT. Thanks Mosh!

  • @JoyDBa24
    @JoyDBa24 11 місяців тому +4

    Good job again Mosh. So, Modern Angular testing course would be appreciated.

  • @ky8designs
    @ky8designs 11 місяців тому +3

    Thank you Mosh for your efforts, I loved programming because of you.

  • @KzCorp-jt4te
    @KzCorp-jt4te 10 місяців тому

    Wow... this tutorial was amazing. One of the best on testing that I have seen.

  • @davidomiunu782
    @davidomiunu782 11 місяців тому +2

    Perfect timing. I’m excited about this video

  • @fpigeonjr
    @fpigeonjr 8 місяців тому

    🤩Thanks Mosh for this course, love the polish and teaching style. Running thru this now.

  • @stijnservaes
    @stijnservaes 2 місяці тому

    I was familiar with unittesting logic in js with Jest. This is a great resource to see what we should think and do when testing React. Great video

  • @BharathiTamilanbanA
    @BharathiTamilanbanA 11 місяців тому +2

    The method of instruction is fantastic. Many thanks, Mosh 💌

  • @juanmacias5922
    @juanmacias5922 11 місяців тому

    This was such a great tutorial! I've been wondering how TDD would work with UI, and this helped me understand how I could go about it, thanks!

  • @JIPP71984
    @JIPP71984 11 місяців тому +1

    Looking forward to completing this one
    Would love a spring boot course from you one day.

  • @roelaneroy2588
    @roelaneroy2588 11 місяців тому

    Thank you, Mosh! for this great tutorial. For sure, the full course on this is third course I'm going to buy from you. 🏆🏆

  • @AnuragArwalkar
    @AnuragArwalkar 11 місяців тому

    Thanks a lot, Mosh, for your detailed programming videos

  • @cywiz
    @cywiz 11 місяців тому +4

    Please update react native and nodejs course..... Or please let us know if backend does not have any breaking changes...
    And......lots of 💕 love, for being there for every self taught programmers

    • @webmobile21
      @webmobile21 10 місяців тому

      updated react native course that includes testing title as well

  • @syedismail4896
    @syedismail4896 6 місяців тому

    Hi @programmingwithmosh,
    I just wanted to say that the react-testing-starter project is fantastic! It covers all the major React concepts so well. I'm curious, do you have a video where you build this project from scratch? If so, which of your courses can I find it in?
    By the way, I have a membership to your courses and have been enjoying them a lot!
    Thank you so much! 🙏🙏🙏

  • @mylesgideonprospero
    @mylesgideonprospero 11 місяців тому

    I am trying to comprehend how do people write test modules without knowing the production code beforehand when they do Test Driven Development approach
    Nonetheless, thank you for providing this and the timing is crazy since I only started looking into testing recently. Out of thousands of tutorial videos, I will always pick your videos.
    I appreciate your well-thought out content as always ~

  • @SkillsMatterTouhidSayed
    @SkillsMatterTouhidSayed 11 місяців тому +3

    Hi mosh,
    Is any chances to have a Springboot course?

  • @cameronerasmus633
    @cameronerasmus633 10 місяців тому +1

    Hi Mosh! First off - I just want to thank you for your incredible lessons. You have a gift, very few people can explain anything code as well as you do. I'm a high school science teacher myself, so I understand how much work it takes. I came across your courses for the first time in early 2022. A few dozen hours of Mosh that lead to a few dozen projects, that finally lead to my first job as an engineer! You sparked a passion inside of me that I never new I had - I will be forever grateful. Thank you, Mosh.
    Would you ever consider doing a course on microservices? Maybe using the MERN stack. I would buy that course a dozen times over and recommend it to every human being I know - coder or otherwise!

    • @programmingwithmosh
      @programmingwithmosh  10 місяців тому

      Thank you for your kind words. Microservices is one of those overrated technologies I’m reluctant to teach as it educates bad habits. The hype is already over and more and more people are getting back to monolith.

  • @exposetheworldfacts
    @exposetheworldfacts 11 місяців тому

    ❤❤My dear Mosh I am too much inspired by your methodology of teaching. I love it!
    Please make a complete tutorial on Flutter and also on Django framework

  • @nurudeenhamzah5011
    @nurudeenhamzah5011 11 місяців тому

    Quality videos from Mosh, expect no less ❤

  • @SteveNewman1955
    @SteveNewman1955 11 місяців тому +1

    hi mosh ,
    is there any chance to have a series on spring and microservices
    i really love the way you teaching
    and i cant understand the other instructors ...
    recently i finished your java series and i really love it
    l'm looking for job in backend development
    really really appreciate that if you help me ....
    thanks ❤

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому

      Thank you very much! I have spring on my list but I’m not sure where I’ll be work on it as there are many other topics that students have requested more.

  • @hamidakbari3305
    @hamidakbari3305 6 місяців тому

    i've bought your course
    It was perfect

  • @ibrahimolammy471
    @ibrahimolammy471 10 місяців тому

    Thanks Mosh for these tutorials, you're indeed a great tutor. I'd like to know if you have the intention of creating a PHP course.

  • @Imacul77Game
    @Imacul77Game 11 місяців тому +1

    Hurray 🎉 thanks mosh 😂

  • @AnonymousCoder7
    @AnonymousCoder7 11 місяців тому +3

    Hey Mosh Any plans on system design course or Machine learning course .. these topics would be great to make a course on... Thoughts ??!

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому +2

      I was thinking of it for a while but got distracted with a million things! Thanks for the reminder. I’ll see what I can do, but no promises! ;)

    • @HeyMr.OO7
      @HeyMr.OO7 11 місяців тому +3

      @@programmingwithmosh I really believe you could do a great course on Cloud computing, ML, System Design or may be iOS development.
      Pls give a small reply if you read this 🙌🏻

    • @AnonymousCoder7
      @AnonymousCoder7 11 місяців тому +3

      ​@@programmingwithmoshyeahh mosh .. I think he is correct... We're friends
      Pls consider above topics if you can manage .. wud be great..
      pls like/reply if you read this 💙

    • @RKSharma019
      @RKSharma019 11 місяців тому +3

      ​@@programmingwithmosh Hey Mosh these are really great courses ... will you pls. Consider ??! 👍🏻

  • @orisfinatech705
    @orisfinatech705 9 місяців тому

    Thanks for this amazing course. I would love to ask, as a beginner should I focus on writing test cases before code or write my code and then write test cases to see if my code passes those test cases

  • @christopheradolphe
    @christopheradolphe 11 місяців тому

    That's exactly the course I was looking for. I bought it because I really like your teaching style and I know it's worth every dollar. I have never been disappointed with any of the courses, so thank you @programmingwithmosh for creating such great content.

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому +1

      Thank you so much for your support and lovely words! 🙏

    • @christopheradolphe
      @christopheradolphe 11 місяців тому

      You are welcome@@programmingwithmosh My goal this year is to improve my React skills and I'm sure that by the end of this course that goal will be achieved.

  • @jessewakukha1196
    @jessewakukha1196 11 місяців тому +1

    Nice one mosh...from Nairobi kenya

    • @madinafest
      @madinafest 11 місяців тому

      Also following from Nairobi, Kenya. 🔥⚡💥

  • @JOJO_THE_PROGRAMMER
    @JOJO_THE_PROGRAMMER 11 місяців тому

    Awesome course Mosh

  • @agusdwimilniadi
    @agusdwimilniadi 4 місяці тому

    Great video, great explanation 🙌🇮🇩

  • @osamakaram3942
    @osamakaram3942 5 місяців тому

    Thanks a lot Mosh , for that GREAT content

  • @UniqueEdit243
    @UniqueEdit243 11 місяців тому

    Our legend comes back again. ❤❤

  • @efraim-andrade
    @efraim-andrade 9 місяців тому +1

    Great video 👏, what vscode theme is this ?

  • @bastiendufour3841
    @bastiendufour3841 4 місяці тому

    Hey, what tool are you using for your presentation ? It's really nice to follow and the animations are really cool ! (I'm not talking about Screen Studio but your ppt like presentation)

  • @HeyMr.OO7
    @HeyMr.OO7 11 місяців тому +1

    Hey Mosh, Should I buy your Rect 16 course instead of 18 ? Coz that's lot cheaper for me at this beginner stage . I just wanna learn the react ⏳🤔🤔

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому

      I wouldn’t recommend that as so much has changed since then!

  • @rafaelandelocidev
    @rafaelandelocidev Місяць тому

    Bro just saved me. Thanks

  • @Noor-e-islam587
    @Noor-e-islam587 11 місяців тому

    You are unique sir

  • @elishnevsky
    @elishnevsky 4 місяці тому

    Hi Mosh. Thanks for the great video! It was very helpful. On a side note, can you share your oh-my-posh theme please? :)

  • @hyboxis
    @hyboxis 3 місяці тому

    Hi Mosh awesome course. Do I have a site/github account with the code you use in the course ?

  • @maicaotri3668
    @maicaotri3668 8 місяців тому

    Thanks a lot, good for understanding

  • @mutabazi250-hj1jb
    @mutabazi250-hj1jb 11 місяців тому

    Cool👍keep it up bro

  • @baltaza
    @baltaza 8 місяців тому

    Great resource!

  • @burhaanhassan5498
    @burhaanhassan5498 11 місяців тому

    I am more interested to see how you implemented the frontend, that can teach us a lot also it summarise the most important skills of react js. Please if you can share with us. sure, we can Colone the repo and see how it's build but Wanna see you doing it

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому

      The project has a GitHub repo. I explained that at the beginning. Feel free to clone the project and study it. If you learn better by videos, I've covered all the tools and techniques used in this project (except auth) in my React Intermediate course: codewithmosh.com/p/ultimate-react-part2

  • @mehdiskan
    @mehdiskan 11 місяців тому

    😍Eyval Mosh, In Course Awliee;

  • @FredrikStrömberg-q5s
    @FredrikStrömberg-q5s 11 місяців тому

    Should we test hooks and and context alone or only in the components where they are used?

  • @armandoruiz1262
    @armandoruiz1262 6 місяців тому

    Do you have a tutorial on how to set your terminal as it is looking?

  • @fireheart__7
    @fireheart__7 11 місяців тому

    Awesome!! ❤

  • @moewai6256
    @moewai6256 10 місяців тому +1

    Why we need so many library to use? react-testing library, jsdom and jest-dom

  • @zabiullahshokuri
    @zabiullahshokuri 2 місяці тому

    very good tutor

  • @ko9
    @ko9 11 місяців тому +15

    Will this be just as applicable for a NextJS project, or are there significant differences in testing NextJS apps?

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому +8

      For the most part, yes! The knowledge you learn in the course can be applied to a Next.js project because you’re still dealing with React components. But routing in Next.js is different from what we’ve covered in the course.

    • @dedstronk
      @dedstronk 11 місяців тому

      @@programmingwithmoshwhy not also add section for nextjs since you also teached or make a course for testing nextjs application since its rare to find some?

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому +28

      My goal is to teach you to fish rather than feed you fish. With the materials I put together in this course, you won’t need me in the future and can figure out the rest on your own.

  • @bfrAliShettima
    @bfrAliShettima 7 місяців тому

    Nice presentation

  • @TheRealCloudB
    @TheRealCloudB 10 місяців тому

    Thank you, Can we have video for Building Large language model for beginners ?

  • @mutabazi250-hj1jb
    @mutabazi250-hj1jb 11 місяців тому

    Well be back Mr Mosh, after sometime

  • @joseph_oluwayomi
    @joseph_oluwayomi 11 місяців тому

    The Legend 🚀

  • @ShadowsandWhispers3
    @ShadowsandWhispers3 11 місяців тому

    mosh please make a course on go and rust

  • @mohaimenkhalid3844
    @mohaimenkhalid3844 8 місяців тому

    you are just amazing..

  • @deepakjha4138
    @deepakjha4138 11 місяців тому

    great tutorial

  • @devoni_com
    @devoni_com 11 місяців тому

    Hello sir, I want to learn and participate in your courses, but I have a question: Can a person who does not know anything about programming follow this course that you will offer? Will I be ready for the job market and have sufficient experience?

  • @PranayBoreddy-o4n
    @PranayBoreddy-o4n 4 місяці тому

    At 58:13 why do we need to check if button exists in the document if we are already uaing getByRole. It fails if we dont acess it right. We are not using queeybyrole. Okay correct me if my understanding is wrong

    • @sayantanmanna1360
      @sayantanmanna1360 3 місяці тому

      I'm having the exact same doubt. Why do we need to use toBeIntheDocument() method when getByRole() already throws an error if it doesn't find that element?

    • @PranayBoreddy-o4n
      @PranayBoreddy-o4n 3 місяці тому +2

      @@sayantanmanna1360
      Testing goes by AAA pattern. You would probably be missing the assertion part if you don't check the toBeInTheDocument(). Also it's more readable for a stranger to understand what you are trying to test.

    • @sayantanmanna1360
      @sayantanmanna1360 3 місяці тому

      @@PranayBoreddy-o4n got it

  • @nagarjunachenna7773
    @nagarjunachenna7773 5 місяців тому

    Could you please specify the VS Code theme used in this tutorial?

  • @valenciawalker6498
    @valenciawalker6498 11 місяців тому

    Thank you

  • @shakyadissanayaka
    @shakyadissanayaka 11 місяців тому

    Thank you very much sir

  • @MohammadMansourBone
    @MohammadMansourBone 11 місяців тому

    Finally 🙌

  • @FredrikStrömberg-q5s
    @FredrikStrömberg-q5s 10 місяців тому

    Hi Mosh would it be possible you could show how you would test your ErrorPage in this project? I have the same structure on my ErrorPage and i got this error, Error: useRouteError must be used within a data router, I guess it is since i use createBrowserRouter and i'm not sure how to mock it.

  • @Ninjacode554
    @Ninjacode554 10 місяців тому

    My teacher, makes a testing course with jest and react native testing library, please 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @rakeshmaurya5148
    @rakeshmaurya5148 11 місяців тому

    Sir i am fig fan of you. I want to purchase your pro course.

  • @user-cn9oo5uw6f
    @user-cn9oo5uw6f 11 місяців тому

    Will you put this course on Udemy ? My company provided me a udemy business acct n I would like to take advantage of tht

  • @Nyanda_Jr
    @Nyanda_Jr 11 місяців тому

    Hello Sir. Nice being here

  • @codeofmohit
    @codeofmohit 8 місяців тому

    Hey mosh, nice tute, btw, but in my components in describe block, only 1 it block/test runs at a time, if i have 2 valid tests, at a time only 1 will run, multiple tests are not running, i mean they can run but will fail only 1 test at a time passes, the comonent uses context based dark/light theme switching ? any suggestions here, what m doing wrong ?

  • @hzakaria5338
    @hzakaria5338 11 місяців тому

    Mosh why you dont give online courses for react native mobile app development ,, there are a lot of complications just to implement the environment 😞

  • @TuyenNguyen-wb1wb
    @TuyenNguyen-wb1wb 6 місяців тому

    I don't have enough money for your course. But my company provides an account for Udacity. Does your course have one on Udacity?

  • @natalias.2267
    @natalias.2267 10 місяців тому

    Hi, do you accept cards from any country? I have problems with payment

  • @ShakkeerTheCoder
    @ShakkeerTheCoder 10 місяців тому +1

    Mosh, we need tutorial on GraphQL

  • @sahandmahdavi6134
    @sahandmahdavi6134 11 місяців тому

    Can be also used for React Native?

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому +1

      Yes! Most of the techniques and best practices you learn in the course can be applied to React Native projects. You just need to install React Native Testing Library, instead of React Testing Library.

    • @sahandmahdavi6134
      @sahandmahdavi6134 11 місяців тому

      @@programmingwithmosh Thanks Mosh!

    • @sahandmahdavi6134
      @sahandmahdavi6134 11 місяців тому

      @@programmingwithmosh That's amazing, I was watching the UA-cam 1H introduction and it seemed to be practical.
      On the other side I think if you can give us a course of Vue.js, would be helpful TBH.

  • @prasadvenky456
    @prasadvenky456 6 місяців тому

    can we use this testing for react-native also?

  • @hakufairy4
    @hakufairy4 Місяць тому

    Hi mosh, I’m having issues setting up the react testing starter project, the connection to server refuses on all ports and i tried updating to new ports and following all your steps, is there a fix to this problem?

  • @lamisoft
    @lamisoft 11 місяців тому +1

    please make ts node backend series mosh

  • @TuyenNguyen-wb1wb
    @TuyenNguyen-wb1wb 6 місяців тому

    I have a question at around 48:00. What if I change the user's list to a property of the same name. So how do you write for testing? I tried some cases but it doesn't work. Can anyone help me in this case? ex:users: User[] = [
    { id: 1, name: "Mosh" },
    { id: 2, name: "Mosh" },
    ];

  • @edehchinedu4554
    @edehchinedu4554 2 місяці тому

    i can't pay for the course.. you said earlier you will show how to mock API and text routes

  • @mehakgrover2174
    @mehakgrover2174 11 місяців тому

    Mosh please make tutorial on flutter

  • @akshayajgowda4060
    @akshayajgowda4060 5 місяців тому

    im not able to come out of this error "Callback URL mismatch.
    The provided redirect_uri is not in the list of allowed callback URLs.
    Please go to the Application Settings page and make sure you are sending a valid callback url from your application."

  • @jacknight4118
    @jacknight4118 26 днів тому

    When I started the project and after login I clicked on Admin but nothing displays, I'm trying to resolve it but I'm stuck

  • @minhquanle2035
    @minhquanle2035 5 місяців тому

    please E2E test with cypress

  • @sukreth1413
    @sukreth1413 11 місяців тому

    Hi can you make video about how to print first n perfect number in python I searched in internet and chatgpt it has no correct solution only printing first 8 perfect numbers

  • @LemonGaming43021
    @LemonGaming43021 10 місяців тому

    I want you to update your node js series course because your node course is out of date.

  • @SANTOSHYADAV-fx6fu
    @SANTOSHYADAV-fx6fu 9 місяців тому

    is this course is on Udemy ?

  • @dakshkumar4032
    @dakshkumar4032 11 місяців тому

    amazing

  • @bleir82
    @bleir82 8 місяців тому

    Hi! I want to try this but during running npm start I have error "TypeError: this.spawn is not a function" this I think is from concurrently :( I have tried on node 20.10 and newest one 22.1

  • @rashidkhanjamali4358
    @rashidkhanjamali4358 11 місяців тому

    Mosh please Upload zero to mastery Full Stack development

  • @kamauwaweru4991
    @kamauwaweru4991 11 місяців тому

    i love it

  • @hichembesrour
    @hichembesrour 11 місяців тому

    Hello mosh we need update on your .net course

  • @durgaprasad-vm4mh
    @durgaprasad-vm4mh 11 місяців тому

    I am unable to buy this course. Encountering fallowing error: "This product is not available. Contact the school owner for more information."

    • @programmingwithmosh
      @programmingwithmosh  11 місяців тому

      Sorry! That was a temporary issue. It's fixed now. Try again and let me know if it's still happening on your end.