Brad,, I just got a new job (with the help of your videos, of course). One of my first assignments at my job was to create a form with Material UI. I went through a bunch of docs online, but still didn't understand the grid system. I went through your crash course in a half hour and learned what I needed to finish. Thank you for the videos.
you are a legend, Brad! I have just added unit testing to my project to check the whole js file with database calls (had to wrap the file and add custom database call functions to imitate calls and response). Jest tests are great since I no longer need to manually test for cases like I used to for previous 2 years!
Your tutorials may be the best! Your concise presentation, your habit of citing requirements for doing X, and how you organize concepts with top-level descriptions that accompanies details are helpful. My favorite part of your presentation style is how you say a lot with very little but elaborate where necessary with minimal redundancy. Another Example: "We could have installed JEST globally and use JEST commands, but here we install JEST locally and use a script" -- that is extremely useful for beginners learning on their own who may become frustrated if they don't know to look for the difference while exploring other resources.
YES. I just finished your crash course videos on Node and Express, next on my list was Jest, i search it up and was so relieved to see that you made a video on it as well. You're the best on the web, Brad!
Thank god this is free. Just watched a series of same topic that stopped halfway because the rest of the series is behind a paywall. You're a good man! Thank you!
I wanted to watch this video for 10 minutes and continue watching tomorrow but this video was so mesmerising that I completed watching full video. Thank you Brad😊
Love your courses Brad, I have been a big fan over the years and I suggest your awesome courses to all of my friends and colleagues, you have massively helped so many people in need of clearing concepts in simple language. Big love from India 🙏
This is a great intro to Jest, thanks. I would really like to see a video or series about how to use this in an app or more on test driven development practices generally.
Hey Brad, thanks so much for these videos! I've been following for years, and attribute half of my success in landing a job as a software engineer to looking up most missing info/references from your content :) Despite being on the job for 9 months now, I still find myself struggling to write unit tests, and turned to this video for a refresher. Seems like a great intro/beginner tutorial, thought I have a hard time finding any material online that really gives a solid intermediate-to-advanced level of Jest education. If you think it would be worthwhile, I would personally love to see an updated, comprehensive Jest tutorial that defines variables via DOM traversal and testing nested if/else conditions, explains ShallowWrapper vs ReactWrapper, and tests updated views after changing state, etc. Again, I haven't seen anything like this done before, so might be something to look into - and I know I'd certainly appreciate having a high quality reference point in the future as well! Thanks for the time, keep up the amazing work!
Thank you! I recently got hired as a developer and your videos have helped me a lot! The way you describe things makes it easier to grasp the concepts, keep up the good work :)
I have a simple question. When someone ask ME where do you learn web dev things, i tell them Traversy Media, but where do/DID YOU learn all this stuff... you are awesome by the way
WOLV Hey, is r/webdev on reddit 'the one ' for annountsments on tech and i wanna now what are good web sites for always kept up to date with web dev tech, and what do you mean by documentation, am failry new to this so sorry for asking
MrBadcompany00 Just follow tech you're interested in for example: JavaScript, Node.JS or PHP. If there's a new framework then just read the documentation provided with it 😁
I really like that this video is generic JavaScript - It is NOT tied to frameworks like Angular, React, or Vue. This let me focus on JEST, instead of the frameworks.
Thank you very much for this tutorial and everything you publish! It's so helpful since you can explain very well, have the right speed and explain in an order that just makes you understand everything easily. I've been working as professional in a React project, have many years of Java experience and still learning Javascript, Typescript and everything and have been learning by reading code from our projects and UA-cam tutorials. I've written a lot of tests, but wanted to get a good foundation on Jest. This tutorial has just been perfect for this purpose.
That would never happen. I have already turned down pretty decent offers. This channel means much more to me than just money. The amount of people I am able to reach and help in any way is one of the most important things in my life
Very nice and informative video Brad. I also watched a tutorial on PluralSight but this is far more better. Thanks a lot. I request you to bring a comprehensive video on Jest & Enzyme.
35:00 - reversestring has nothing to do with lower case. reversestring('Hello') should just be compared to 'olleH'. The correct way. But the rest of the video is just perfect. :D
This is amazing and you are one of the best tutors on youtube. the only question I have is, how to run a single suite? or a single file other than running everything together. In case we have hundreds of files, we don't have to run everything together. If Someone can help me here to understand, how to do that.
Hi Brad. Thank you for sharing your knowledge. Will you do some TDD series or intro to Test Driven Development tutorial? It would be great if you will do something like this with Jest and Cypress. Thanks a lot again!
Thanks for this awesome tutorial on TDD, can you please make a video of building real world project TDD way ? Thanks in advance. In case you already have a video, please point to it.
if there is one function which takes multiple argument as an array and use console.log to print multiple values separately then how to test it. eg. function (input){ for (let i = 0; i < input.length; i++) { if (input) { console.log(input[i]); } }
Great job man! Just when I was getting into unit testing! :D Can you do a crash course one mocha as well? (I know you already have a video but I think it's a bit too short)
Hey Brad. Can you do a whole course for Jest, especially situations where the Unit testing is warranted. I think hard part is when to use rather than how to use.
Hello, Brad, really love your videos, I am quite interested and would like to learn more about node.js and advanced JS project course, could u please do more videos on node.js, react and redux, please? Really curious how do u learn so much web stuff yourself and be so excellent in this? Really admire u! Thank you so much for making all these excellent videos, and I support you all the time!
56:04 PLEASE !!! don't ever say sorry bro, contrary you are a LIFE SAVER and we should all of us thank you 👍👍👍👍
I vibe with this comment SO hard
Couldn't agree more! However now, you must say "sorry" for saying "sorry". :-)
Brad,, I just got a new job (with the help of your videos, of course). One of my first assignments at my job was to create a form with Material UI. I went through a bunch of docs online, but still didn't understand the grid system. I went through your crash course in a half hour and learned what I needed to finish. Thank you for the videos.
I got placed in Thomson Reuters.
A many many thanks to you sir, keep giving us such education always, I have learned a lot from you.
Thank You.
This made far more sense to me than the 4 hour course I just watched on Pluralsight. Thank you and please do more.
Now I've realized why is it called Jest. It's 'Test', but instead of T, there's J - for JavaScript
Surely you must jest.
mind blown
what a life saver! got interview in 1 hr and this will help a lot
gold. absolute gold
How did it go ?
you are a legend, Brad!
I have just added unit testing to my project to check the whole js file with database calls (had to wrap the file and add custom database call functions to imitate calls and response).
Jest tests are great since I no longer need to manually test for cases like I used to for previous 2 years!
Your tutorials may be the best! Your concise presentation, your habit of citing requirements for doing X, and how you organize concepts with top-level descriptions that accompanies details are helpful. My favorite part of your presentation style is how you say a lot with very little but elaborate where necessary with minimal redundancy.
Another Example: "We could have installed JEST globally and use JEST commands, but here we install JEST locally and use a script" -- that is extremely useful for beginners learning on their own who may become frustrated if they don't know to look for the difference while exploring other resources.
this guy is really good and helpful
make sure you play 1.5 speed while watching
I watch a lot of jest testing videos but I definitely say that you are the best instructor
YES. I just finished your crash course videos on Node and Express, next on my list was Jest, i search it up and was so relieved to see that you made a video on it as well. You're the best on the web, Brad!
This is the first video I have never skipped in any point.
I love this. I already feel so much more confident with Jest.
Thank god this is free. Just watched a series of same topic that stopped halfway because the rest of the series is behind a paywall. You're a good man! Thank you!
This was one of the best videos on JavaScript testing , I have watched on UA-cam.
Appreciate on your video content. As a beginner picking up Jest, your guide is really helpful. Thank you!
been watching this guy since last year, now i am employed.
I wanted to watch this video for 10 minutes and continue watching tomorrow but this video was so mesmerising that I completed watching full video. Thank you Brad😊
Love your courses Brad, I have been a big fan over the years and I suggest your awesome courses to all of my friends and colleagues, you have massively helped so many people in need of clearing concepts in simple language. Big love from India 🙏
I don't know how many times I've already wrote this comment under one of your videos, but: Thanks a ton, Brad! You are the best.
Excellent introduction. Looking forward to the advance course!
This is a great intro to Jest, thanks. I would really like to see a video or series about how to use this in an app or more on test driven development practices generally.
I love you traversy media
Hey Brad, thanks so much for these videos! I've been following for years, and attribute half of my success in landing a job as a software engineer to looking up most missing info/references from your content :) Despite being on the job for 9 months now, I still find myself struggling to write unit tests, and turned to this video for a refresher. Seems like a great intro/beginner tutorial, thought I have a hard time finding any material online that really gives a solid intermediate-to-advanced level of Jest education. If you think it would be worthwhile, I would personally love to see an updated, comprehensive Jest tutorial that defines variables via DOM traversal and testing nested if/else conditions, explains ShallowWrapper vs ReactWrapper, and tests updated views after changing state, etc. Again, I haven't seen anything like this done before, so might be something to look into - and I know I'd certainly appreciate having a high quality reference point in the future as well! Thanks for the time, keep up the amazing work!
Your videos are clear, concise, and super useful. Thank you so much for everything you do Brad!
Thank you! I recently got hired as a developer and your videos have helped me a lot! The way you describe things makes it easier to grasp the concepts, keep up the good work :)
Jest is the best JavaScript testing framework in my opinion. Thank you Brad for video!
Perfect, this tutorial has examples and is easy to follow. Thanks!
I have a simple question. When someone ask ME where do you learn web dev things, i tell them Traversy Media, but where do/DID YOU learn all this stuff... you are awesome by the way
MrBadcompany00 Reddit, GitHub, Medium and ofcourse documentation.
WOLV Hey, is r/webdev on reddit 'the one ' for annountsments on tech and i wanna now what are good web sites for always kept up to date with web dev tech, and what do you mean by documentation, am failry new to this so sorry for asking
MrBadcompany00 Just follow tech you're interested in for example: JavaScript, Node.JS or PHP. If there's a new framework then just read the documentation provided with it 😁
Awesome video thanks a lot Brad ...hopefully understood concepts,please let’s go and deep dive into jest+puppeteer
I really like that this video is generic JavaScript - It is NOT tied to frameworks like Angular, React, or Vue. This let me focus on JEST, instead of the frameworks.
Thank you very much for this tutorial and everything you publish! It's so helpful since you can explain very well, have the right speed and explain in an order that just makes you understand everything easily. I've been working as professional in a React project, have many years of Java experience and still learning Javascript, Typescript and everything and have been learning by reading code from our projects and UA-cam tutorials. I've written a lot of tests, but wanted to get a good foundation on Jest. This tutorial has just been perfect for this purpose.
Thank you for saving my time learning all this from jest docs)
When testing asynchronous code using async/await, you don't need the expect.assertions() line either.
same thing, I just want to say
Hey Brad please dont quit or give your channel away! Thanks
Did you saw Devtips video recently lol ?
That would never happen. I have already turned down pretty decent offers. This channel means much more to me than just money. The amount of people I am able to reach and help in any way is one of the most important things in my life
Bless you man. You videos are of great help.
Simranpreet Singh last i saw he had funfunfunction on it. Never worry about me abandoning the channel
Hey Brad, yesterday I purchased your Mern course on Udemy, I am really thankful for your content in that course and also for this UA-cam channel !
Thank you so much!! This is just perfect! Got a headstart in Jest within an hour.
A test environment setup with in-memory MongoDB and mongoose doing REST end point testing will be extremely helpful.
Incredible. When can we expect(React Unit Testing w/ Jest and Enzyme).toBeTruthy( )?
yes please. This one sir. Right here.
yeah, I'm currently struggling with how to test functions inside function components (and how to pass the props to them).
+1
It was a fantastic journey through testing basics! Helped a lot!
This guy is awesome. I have no idea why he has just this number of subscribers!
Great introduction to Jest Testing - really enjoyed the flow and content :)
Very nice and informative video Brad. I also watched a tutorial on PluralSight but this is far more better.
Thanks a lot.
I request you to bring a comprehensive video on Jest & Enzyme.
You should use "slack off" instead of "slack on" Brad as far as I understand. But that is a small detail. You are an excellent instructor Brad!
This is awesome. I am in the process of learning unit testing and this was a brilliant intro video tutorial.
Thanks :)
I would like to see complex test such with classes and stubbing mocking dependencies like fetch data or write data to filesystem.
still relevant after 4 years.. great video 😍
13:16
"Or as 99% percent of you call me - Tra↓ver↑sy↓"
Im dyingggg 🤣🤣🤣 That's totally me!
Thank you so much! It's kind hard to find a really good class about jest and you got to explain perfectly what I was looking for :) .
Great refresher; Really helped me add some robustness to my test suites today.
As always, great video Brad, to the point, concise and explanatory. Thanks!
That was great. Your content is just gold. Thank you for sharing Brad.
Excellent video. Liked before watching, and I know I won’t be disappointed.
haha same here
Please make more Jest videos! Maybe testing a React app with a mocked database? I would love to learn that. You are great!
Jest has pretty good documentation on that.
@@slicerabbit6166 hey, if you it have handy could ping the URL
Explained it in a very simple manner. Good work!
Brad please make a video on how to test dom manipulation with jest because that its really difficult to understand. You re the number 1
All of your videos are very interesting and stick to the point. thank you.
Thanks, man! Testing has always scared me. The fear is gone now!
35:00 - reversestring has nothing to do with lower case. reversestring('Hello') should just be compared to 'olleH'. The correct way. But the rest of the video is just perfect. :D
I love you.... saved me dude...im in Interview mood for past 3 weeks... . ......
This is amazing and you are one of the best tutors on youtube. the only question I have is, how to run a single suite? or a single file other than running everything together. In case we have hundreds of files, we don't have to run everything together. If Someone can help me here to understand, how to do that.
Thank you so much. I've been waiting for this Jest tutoruial!
Thank you for making this video - really really helpful and very well explained. You are exceptionally clear.
Thanks for the examples of testing asynchronous code !
Guess what? You forgot to tag the Javascript Cardio videos.
But that ain't hard to find since you're all over UA-cam.
Love
This is awesome. For the more detailed version could you please include function mocking
Thank you for this video.. You have made Jest a lot easier for me !!!! Thank you!
Excellent beginning for jest
l loved it.
thank you so much 🙏🙏
Wow, This is a awesome.
It would be great help if you could also do advanced jest concepts like snapshot testing and all.
Hi Brad what about a video on Machine Learning. Thanks
Fantastic Tutorial for beginner! Great Job!
Thanks so much... You're my university!!
Sir can you also please let us know what extensions you use in the visual studio code , so the typing part becomes less for us too!
Thanks a bunch !! This was super helpful for a newbie like me
Really nice introduction to jest... Thanks dude
Wow, thank you so much for sharing and taking so much time to produce.
Great video! Helped me a lot! Thank you for uploading it for free!
thanks for your tutorial brother, i really aperciate what you're doing.
Hi Brad. Thank you for sharing your knowledge. Will you do some TDD series or intro to Test Driven Development tutorial? It would be great if you will do something like this with Jest and Cypress. Thanks a lot again!
This was great, thanks for the walkthrough :)
Thanks for this awesome tutorial on TDD, can you please make a video of building real world project TDD way ? Thanks in advance. In case you already have a video, please point to it.
Thank you Brad. Your videos are super helpful 👍
Brilliant tutorial, really well explained! Thanks
Thanks a lot. Learn a lot from your unit testing lesson
How can/do you know/understand all these things??
Jibz Just don't stop learning
he read docs. thats what a good developer should do.
experience
Please make nexst step: Testing in React
great course. include mock functions also in this
if there is one function which takes multiple argument as an array and use console.log to print multiple values separately then how to test it.
eg. function (input){
for (let i = 0; i < input.length; i++) {
if (input) {
console.log(input[i]);
}
}
Great job man! Just when I was getting into unit testing! :D Can you do a crash course one mocha as well? (I know you already have a video but I think it's a bit too short)
Thanks Brad, I'm gonna use this to test some React stuff.
When testing API request calls, it is recommended that you don't make actual API calls but instead mock the calls. There is a way of doing that.
is there a pratical difference between the use of test/expect and the more common sequence describe/it/expect?
thank you, perfect biginners tuto
Hey Brad. Can you do a whole course for Jest, especially situations where the Unit testing is warranted. I think hard part is when to use rather than how to use.
Brad, you're the best!
Hello, Brad, really love your videos, I am quite interested and would like to learn more about node.js and advanced JS project course, could u please do more videos on node.js, react and redux, please? Really curious how do u learn so much web stuff yourself and be so excellent in this? Really admire u! Thank you so much for making all these excellent videos, and I support you all the time!
how do we write an test for a function which is a void function?
This is extremely helpful, tq so much!
Thank you so much for this great tutorial!
A very nice tutorial. Make a tutorial about events click, blur etc.
best content on Jest