React Testing for Beginners: Start Here!

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 165

  • @programmingwithmosh
    @programmingwithmosh  10 месяцев назад +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 10 месяцев назад +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 10 месяцев назад

      same here@@vinitgirde

    • @HeyMr.OO7
      @HeyMr.OO7 10 месяцев назад

      Chutiya course 😂😂😂

    • @JaysonCraft-mf2pt
      @JaysonCraft-mf2pt 10 месяцев назад

      @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  10 месяцев назад +1

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

  • @bcb3548
    @bcb3548 10 месяцев назад +11

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

  • @invertedcoder
    @invertedcoder 10 месяцев назад +23

    Mosh has got some insane skilles

  • @tonishant
    @tonishant 10 месяцев назад +14

    One of the best tutor on YT.

  • @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

  • @ky8designs
    @ky8designs 10 месяцев назад +3

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

  • @SaadxBaig
    @SaadxBaig 10 месяцев назад +1

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

  • @davidomiunu782
    @davidomiunu782 10 месяцев назад +2

    Perfect timing. I’m excited about this video

  • @JoyDBa24
    @JoyDBa24 10 месяцев назад +4

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

  • @catalinionescu5658
    @catalinionescu5658 9 месяцев назад

    Best course on react testing on YT. Thanks Mosh!

  • @mohammadyusuf4371
    @mohammadyusuf4371 8 месяцев назад +1

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

  • @BharathiTamilanbanA
    @BharathiTamilanbanA 10 месяцев назад +2

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

  • @rohansachdeva627
    @rohansachdeva627 7 месяцев назад

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

  • @KzCorp-jt4te
    @KzCorp-jt4te 9 месяцев назад

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

  • @JIPP71984
    @JIPP71984 10 месяцев назад +1

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

  • @fpigeonjr
    @fpigeonjr 7 месяцев назад

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

  • @juanmacias5922
    @juanmacias5922 10 месяцев назад

    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!

  • @SkillsMatterTouhidSayed
    @SkillsMatterTouhidSayed 10 месяцев назад +3

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

  • @roelaneroy2588
    @roelaneroy2588 10 месяцев назад

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

  • @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

  • @nurudeenhamzah5011
    @nurudeenhamzah5011 10 месяцев назад

    Quality videos from Mosh, expect no less ❤

  • @cywiz
    @cywiz 10 месяцев назад +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 9 месяцев назад

      updated react native course that includes testing title as well

  • @cameronerasmus633
    @cameronerasmus633 9 месяцев назад +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  9 месяцев назад

      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.

  • @AnuragArwalkar
    @AnuragArwalkar 10 месяцев назад

    Thanks a lot, Mosh, for your detailed programming videos

  • @hamidakbari3305
    @hamidakbari3305 5 месяцев назад

    i've bought your course
    It was perfect

  • @Imacul77Game
    @Imacul77Game 10 месяцев назад +1

    Hurray 🎉 thanks mosh 😂

  • @exposetheworldfacts
    @exposetheworldfacts 10 месяцев назад

    ❤❤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

  • @TuyenNguyen-wb1wb
    @TuyenNguyen-wb1wb 5 месяцев назад

    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" },
    ];

  • @mylesgideonprospero
    @mylesgideonprospero 10 месяцев назад

    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 ~

  • @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! 🙏🙏🙏

  • @jessewakukha1196
    @jessewakukha1196 10 месяцев назад +1

    Nice one mosh...from Nairobi kenya

    • @madinafest
      @madinafest 10 месяцев назад

      Also following from Nairobi, Kenya. 🔥⚡💥

  • @ko9
    @ko9 10 месяцев назад +15

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

    • @programmingwithmosh
      @programmingwithmosh  10 месяцев назад +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 10 месяцев назад

      @@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  10 месяцев назад +27

      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.

  • @UniqueEdit243
    @UniqueEdit243 10 месяцев назад

    Our legend comes back again. ❤❤

  • @osamakaram3942
    @osamakaram3942 4 месяца назад

    Thanks a lot Mosh , for that GREAT content

  • @JOJO_THE_PROGRAMMER
    @JOJO_THE_PROGRAMMER 10 месяцев назад

    Awesome course Mosh

  • @agusdwimilniadi
    @agusdwimilniadi 3 месяца назад

    Great video, great explanation 🙌🇮🇩

  • @PranayBoreddy-o4n
    @PranayBoreddy-o4n 3 месяца назад

    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

  • @moewai6256
    @moewai6256 9 месяцев назад +1

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

  • @AnonymousCoder7
    @AnonymousCoder7 10 месяцев назад +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  10 месяцев назад +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 10 месяцев назад +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 10 месяцев назад +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 10 месяцев назад +3

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

  • @ibrahimolammy471
    @ibrahimolammy471 9 месяцев назад

    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.

  • @rafaelandelocidev
    @rafaelandelocidev 27 дней назад

    Bro just saved me. Thanks

  • @christopheradolphe
    @christopheradolphe 10 месяцев назад

    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  10 месяцев назад +1

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

    • @christopheradolphe
      @christopheradolphe 10 месяцев назад

      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.

  • @orisfinatech705
    @orisfinatech705 8 месяцев назад

    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

  • @SteveNewman1955
    @SteveNewman1955 10 месяцев назад +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  10 месяцев назад

      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.

  • @efraim-andrade
    @efraim-andrade 8 месяцев назад +1

    Great video 👏, what vscode theme is this ?

  • @HeyMr.OO7
    @HeyMr.OO7 10 месяцев назад +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  10 месяцев назад

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

  • @FredrikStrömberg-q5s
    @FredrikStrömberg-q5s 10 месяцев назад

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

  • @mehdiskan
    @mehdiskan 10 месяцев назад

    😍Eyval Mosh, In Course Awliee;

  • @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)

  • @armandoruiz1262
    @armandoruiz1262 6 месяцев назад

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

  • @Noor-e-islam587
    @Noor-e-islam587 10 месяцев назад

    You are unique sir

  • @mutabazi250-hj1jb
    @mutabazi250-hj1jb 10 месяцев назад

    Cool👍keep it up bro

  • @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 ?

  • @akshayajgowda4060
    @akshayajgowda4060 4 месяца назад

    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."

  • @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.

  • @maicaotri3668
    @maicaotri3668 8 месяцев назад

    Thanks a lot, good for understanding

  • @mutabazi250-hj1jb
    @mutabazi250-hj1jb 10 месяцев назад

    Well be back Mr Mosh, after sometime

  • @nagarjunachenna7773
    @nagarjunachenna7773 4 месяца назад

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

  • @hyboxis
    @hyboxis 2 месяца назад

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

  • @hakufairy4
    @hakufairy4 12 дней назад

    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?

  • @fireheart__7
    @fireheart__7 10 месяцев назад

    Awesome!! ❤

  • @joseph_oluwayomi
    @joseph_oluwayomi 10 месяцев назад

    The Legend 🚀

  • @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

  • @baltaza
    @baltaza 7 месяцев назад

    Great resource!

  • @natalias.2267
    @natalias.2267 10 месяцев назад

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

  • @elishnevsky
    @elishnevsky 3 месяца назад

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

  • @jacknight4118
    @jacknight4118 4 дня назад

    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

  • @deepakjha4138
    @deepakjha4138 10 месяцев назад

    great tutorial

  • @prasadvenky456
    @prasadvenky456 5 месяцев назад

    can we use this testing for react-native also?

  • @devoni_com
    @devoni_com 10 месяцев назад

    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?

  • @TuyenNguyen-wb1wb
    @TuyenNguyen-wb1wb 5 месяцев назад

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

  • @TheRealCloudB
    @TheRealCloudB 10 месяцев назад

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

  • @burhaanhassan5498
    @burhaanhassan5498 10 месяцев назад

    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  10 месяцев назад

      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

  • @Nyanda_Jr
    @Nyanda_Jr 10 месяцев назад

    Hello Sir. Nice being here

  • @mohaimenkhalid3844
    @mohaimenkhalid3844 7 месяцев назад

    you are just amazing..

  • @edehchinedu4554
    @edehchinedu4554 Месяц назад

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

  • @joangerard3895
    @joangerard3895 4 месяца назад

    Anybody else has the last UserAccount test failing? The "should not render edit button if user is not admin" keeps failing on my end.

  • @user-cn9oo5uw6f
    @user-cn9oo5uw6f 10 месяцев назад

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

  • @zabiullahshokuri
    @zabiullahshokuri Месяц назад

    very good tutor

  • @rumaisanaved6855
    @rumaisanaved6855 3 месяца назад

    Where can I find the github repos ?

  • @bfrAliShettima
    @bfrAliShettima 7 месяцев назад

    Nice presentation

  • @AnkurSharma-hf9jn
    @AnkurSharma-hf9jn 7 месяцев назад

    how can I modify import statement if Im using jest

  • @Ninjacode554
    @Ninjacode554 9 месяцев назад

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

  • @LemonGaming43021
    @LemonGaming43021 10 месяцев назад

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

  • @shakyadissanayaka
    @shakyadissanayaka 10 месяцев назад

    Thank you very much sir

  • @ShakkeerTheCoder
    @ShakkeerTheCoder 9 месяцев назад +1

    Mosh, we need tutorial on GraphQL

  • @patricksantos6800
    @patricksantos6800 6 месяцев назад

    What theme and configs vscode and mac????

  • @hzakaria5338
    @hzakaria5338 10 месяцев назад

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

  • @sukreth1413
    @sukreth1413 10 месяцев назад

    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

  • @webmobile21
    @webmobile21 9 месяцев назад

    is vitest applicable for react native

  • @jayanthkumar6859
    @jayanthkumar6859 10 месяцев назад

    mosh please make a course on go and rust

  • @lamisoft
    @lamisoft 10 месяцев назад +1

    please make ts node backend series mosh

  • @sahandmahdavi6134
    @sahandmahdavi6134 10 месяцев назад

    Can be also used for React Native?

    • @programmingwithmosh
      @programmingwithmosh  10 месяцев назад +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 10 месяцев назад

      @@programmingwithmosh Thanks Mosh!

    • @sahandmahdavi6134
      @sahandmahdavi6134 10 месяцев назад

      @@programmingwithmosh That's amazing, I was watching the RUclips 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.

  • @durgaprasad-vm4mh
    @durgaprasad-vm4mh 10 месяцев назад

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

    • @programmingwithmosh
      @programmingwithmosh  10 месяцев назад

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

  • @arikmosfor4907
    @arikmosfor4907 10 месяцев назад

    what theme are you using?

    • @gaurav455
      @gaurav455 10 месяцев назад

      It's oh lucy.

  • @hichembesrour
    @hichembesrour 10 месяцев назад

    Hello mosh we need update on your .net course

  • @ed-vm1gb
    @ed-vm1gb 10 месяцев назад

    vscode theme?

  • @SANTOSHYADAV-fx6fu
    @SANTOSHYADAV-fx6fu 8 месяцев назад

    is this course is on Udemy ?

  • @azharqureshi9814
    @azharqureshi9814 9 месяцев назад

    Can we download the course after purchasing from mosh site ?
    Anyone has experienced this?