React Testing for Beginners: Start Here!

  Рет қаралды 146,441

Programming with Mosh

Programming with Mosh

Күн бұрын

Пікірлер: 164
@programmingwithmosh
@programmingwithmosh 11 ай бұрын
- 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 ай бұрын
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 ай бұрын
@@JaysonCraft-mf2pt I’m sorry to hear that! I took a note and will fix it tomorrow morning.
@bcb3548
@bcb3548 11 ай бұрын
Was looking up Vitest yesterday and Mosh drops this! Couldn't have been more auspicious.
@invertedcoder
@invertedcoder 11 ай бұрын
Mosh has got some insane skilles
@tonishant
@tonishant 11 ай бұрын
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
@SaadxBaig
@SaadxBaig 11 ай бұрын
Can’t wait to learn more about testing in react Mosh! The best teacher out there
@davidomiunu782
@davidomiunu782 11 ай бұрын
Perfect timing. I’m excited about this video
@jlimsy1
@jlimsy1 9 ай бұрын
The only course on React testing that I managed to complete without hitting unsolvable bugs left and right
@mhdalyusuf
@mhdalyusuf 9 ай бұрын
I am learning a lot from your videos and glad to have the membership 🙏 Thanks Mosh for being there!
@BharathiTamilanbanA
@BharathiTamilanbanA 11 ай бұрын
The method of instruction is fantastic. Many thanks, Mosh 💌
@ky8designs
@ky8designs 11 ай бұрын
Thank you Mosh for your efforts, I loved programming because of you.
@JoyDBa24
@JoyDBa24 11 ай бұрын
Good job again Mosh. So, Modern Angular testing course would be appreciated.
@catalinionescu5658
@catalinionescu5658 10 ай бұрын
Best course on react testing on YT. Thanks Mosh!
@KzCorp-jt4te
@KzCorp-jt4te 10 ай бұрын
Wow... this tutorial was amazing. One of the best on testing that I have seen.
@rohansachdeva627
@rohansachdeva627 8 ай бұрын
Most underrated skill that only professional devs can appreciate. Thanks Mosh :)
@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
@JIPP71984
@JIPP71984 11 ай бұрын
Looking forward to completing this one Would love a spring boot course from you one day.
@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!
@AnuragArwalkar
@AnuragArwalkar 11 ай бұрын
Thanks a lot, Mosh, for your detailed programming videos
@Imacul77Game
@Imacul77Game 11 ай бұрын
Hurray 🎉 thanks mosh 😂
@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. 🏆🏆
@programmingwithmosh
@programmingwithmosh 11 ай бұрын
Awesome, thank you for your support!
@SkillsMatterTouhidSayed
@SkillsMatterTouhidSayed 11 ай бұрын
Hi mosh, Is any chances to have a Springboot course?
@nurudeenhamzah5011
@nurudeenhamzah5011 11 ай бұрын
Quality videos from Mosh, expect no less ❤
@cywiz
@cywiz 11 ай бұрын
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
@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
@JOJO_THE_PROGRAMMER
@JOJO_THE_PROGRAMMER 11 ай бұрын
Awesome course Mosh
@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! 🙏🙏🙏
@cameronerasmus633
@cameronerasmus633 10 ай бұрын
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.
@jessewakukha1196
@jessewakukha1196 11 ай бұрын
Nice one mosh...from Nairobi kenya
@madinafest
@madinafest 11 ай бұрын
Also following from Nairobi, Kenya. 🔥⚡💥
@SteveNewman1955
@SteveNewman1955 11 ай бұрын
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
@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 ~
@agusdwimilniadi
@agusdwimilniadi 4 ай бұрын
Great video, great explanation 🙌🇮🇩
@rafaelandelocidev
@rafaelandelocidev Ай бұрын
Bro just saved me. Thanks
@UniqueEdit243
@UniqueEdit243 11 ай бұрын
Our legend comes back again. ❤❤
@ko9
@ko9 11 ай бұрын
Will this be just as applicable for a NextJS project, or are there significant differences in testing NextJS apps?
@programmingwithmosh
@programmingwithmosh 11 ай бұрын
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 ай бұрын
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.
@osamakaram3942
@osamakaram3942 5 ай бұрын
Thanks a lot Mosh , for that GREAT content
@AnonymousCoder7
@AnonymousCoder7 11 ай бұрын
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 ай бұрын
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 ай бұрын
@@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 ай бұрын
​@@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 ай бұрын
​@@programmingwithmosh Hey Mosh these are really great courses ... will you pls. Consider ??! 👍🏻
@efraim-andrade
@efraim-andrade 9 ай бұрын
Great video 👏, what vscode theme is this ?
@Noor-e-islam587
@Noor-e-islam587 11 ай бұрын
You are unique sir
@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" }, ];
@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.
@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 ай бұрын
@@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
@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
@baltaza
@baltaza 8 ай бұрын
Great resource!
@zabiullahshokuri
@zabiullahshokuri 2 ай бұрын
very good tutor
@HeyMr.OO7
@HeyMr.OO7 11 ай бұрын
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!
@maicaotri3668
@maicaotri3668 8 ай бұрын
Thanks a lot, good for understanding
@bfrAliShettima
@bfrAliShettima 7 ай бұрын
Nice presentation
@mehdiskan
@mehdiskan 11 ай бұрын
😍Eyval Mosh, In Course Awliee;
@mutabazi250-hj1jb
@mutabazi250-hj1jb 11 ай бұрын
Cool👍keep it up bro
@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)
@FredrikStrömberg-q5s
@FredrikStrömberg-q5s 11 ай бұрын
Should we test hooks and and context alone or only in the components where they are used?
@fireheart__7
@fireheart__7 11 ай бұрын
Awesome!! ❤
@armandoruiz1262
@armandoruiz1262 6 ай бұрын
Do you have a tutorial on how to set your terminal as it is looking?
@joseph_oluwayomi
@joseph_oluwayomi 11 ай бұрын
The Legend 🚀
@hyboxis
@hyboxis 3 ай бұрын
Hi Mosh awesome course. Do I have a site/github account with the code you use in the course ?
@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? :)
@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 ай бұрын
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.
@mutabazi250-hj1jb
@mutabazi250-hj1jb 11 ай бұрын
Well be back Mr Mosh, after sometime
@deepakjha4138
@deepakjha4138 11 ай бұрын
great tutorial
@MohammadMansourBone
@MohammadMansourBone 11 ай бұрын
Finally 🙌
@moewai6256
@moewai6256 10 ай бұрын
Why we need so many library to use? react-testing library, jsdom and jest-dom
@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?
@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.
@mohaimenkhalid3844
@mohaimenkhalid3844 8 ай бұрын
you are just amazing..
@nagarjunachenna7773
@nagarjunachenna7773 5 ай бұрын
Could you please specify the VS Code theme used in this tutorial?
@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 ?
@valenciawalker6498
@valenciawalker6498 11 ай бұрын
Thank you
@natalias.2267
@natalias.2267 10 ай бұрын
Hi, do you accept cards from any country? I have problems with payment
@prasadvenky456
@prasadvenky456 6 ай бұрын
can we use this testing for react-native also?
@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."
@TheRealCloudB
@TheRealCloudB 10 ай бұрын
Thank you, Can we have video for Building Large language model for beginners ?
@ShadowsandWhispers3
@ShadowsandWhispers3 11 ай бұрын
mosh please make a course on go and rust
@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
@Nyanda_Jr
@Nyanda_Jr 11 ай бұрын
Hello Sir. Nice being here
@jacknight4118
@jacknight4118 24 күн бұрын
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
@shakyadissanayaka
@shakyadissanayaka 11 ай бұрын
Thank you very much sir
@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
@ShakkeerTheCoder
@ShakkeerTheCoder 10 ай бұрын
Mosh, we need tutorial on GraphQL
@lamisoft
@lamisoft 11 ай бұрын
please make ts node backend series mosh
@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?
@edehchinedu4554
@edehchinedu4554 2 ай бұрын
i can't pay for the course.. you said earlier you will show how to mock API and text routes
@sahandmahdavi6134
@sahandmahdavi6134 11 ай бұрын
Can be also used for React Native?
@programmingwithmosh
@programmingwithmosh 11 ай бұрын
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 KZbin 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.
@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?
@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
@patricksantos6800
@patricksantos6800 7 ай бұрын
What theme and configs vscode and mac????
@AnkurSharma-hf9jn
@AnkurSharma-hf9jn 7 ай бұрын
how can I modify import statement if Im using jest
@webmobile21
@webmobile21 10 ай бұрын
is vitest applicable for react native
@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.
@rumaisanaved6855
@rumaisanaved6855 3 ай бұрын
Where can I find the github repos ?
@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
@mehakgrover2174
@mehakgrover2174 11 ай бұрын
Mosh please make tutorial on flutter
@rakeshmaurya5148
@rakeshmaurya5148 11 ай бұрын
Sir i am fig fan of you. I want to purchase your pro course.
@arikmosfor4907
@arikmosfor4907 11 ай бұрын
what theme are you using?
@gaurav455
@gaurav455 11 ай бұрын
It's oh lucy.
@Ninjacode554
@Ninjacode554 10 ай бұрын
My teacher, makes a testing course with jest and react native testing library, please 🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@dakshkumar4032
@dakshkumar4032 11 ай бұрын
amazing
@kamauwaweru4991
@kamauwaweru4991 11 ай бұрын
i love it
@LemonGaming43021
@LemonGaming43021 10 ай бұрын
I want you to update your node js series course because your node course is out of date.
9 Reasons People Hate JavaScript
4:45
Programming with Mosh
Рет қаралды 90 М.
Testing In React Tutorial - Jest and React Testing Library
21:28
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
JavaScript Unit Testing Tutorial for Beginners
48:32
Programming with Mosh
Рет қаралды 93 М.
The Best Tech Jobs for 2025: High Demand & High Pay
5:16
Programming with Mosh
Рет қаралды 257 М.
React JS 19 Full Course 2025 | Build an App and Master React in 2 Hours
2:07:19
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 126 М.
8 Rules For Learning to Code in 2025...and should you?
12:59
Travis Media
Рет қаралды 274 М.
React Testing Tutorial (Jest + React Testing Library)
22:16
Kris Foster
Рет қаралды 260 М.
Stop Writing So Many Tests
10:02
Web Dev Simplified
Рет қаралды 99 М.
The Complete Frontend Developer Roadmap
8:54
Programming with Mosh
Рет қаралды 329 М.