Great! We need more tutorials about testing, there isn't much of it on the internet
@TraversyMedia
3 жыл бұрын
I agree. I always found it difficult to try and teach testing because it's hard to do it in a "real world" way. I think Mitchel did an excellent job though
@RogerThat902
3 жыл бұрын
Agreed. It's arguably the biggest "woah, I have no idea what I should be doing" I found on a new job. And I'd argue it's maybe the one thing that can separate you from other candidates and make you stand out on jobs. If you are good at testing it will make you seem like a boss from day 1. I know that sounds silly but being good at it really is super valuable.
@be_real_truth_matters
3 жыл бұрын
Becoz nobody wants to waste time...
@josephakayesi6951
2 жыл бұрын
You're right. Maybe one day you'll make some for us.
@griffinkirkland9087
Жыл бұрын
Web whale is it time wasting to test apps?
@samanfayazi1226
3 жыл бұрын
What would we do without you brad? honestly I have no clue, respect guys, for all your hard work
@tevinmorake8924
3 жыл бұрын
Thanks Brad, Mitchel. I learnt quite a lot today even though I've been testing for years. Really appreciate it guys!
@thatCbean
2 жыл бұрын
First of all, great video, it is very educational and easy to listen to. I would like to say a couple things however: Firstly, you said that integration tests are more than just combining unit tests, but I feel like you didn't really cover the whole idea of what the difference is and why you need both. For those reading this in the future, a unit test tests a single component and is very useful to find problems with specific parts of your program. The purpose of an integration test is to test if the components correctly function when put together. They basically test the connection between components. If you rely solely on integration tests you may find errors, but it will be harder to see in which component they might be whereas unit tests generally point you right to the faulty component. Unit tests are also really useful for boundary testing: Testing cases near branching points in the code, and other edge cases. EDIT: In other words, for important parts of your code you would want both unit and integration tests. In this case I would have used unit tests to see if the buttons work correctly and to see if the text boxes take their inputs correctly, and an integration test to see if clicking the pay button actually correctly registers the inputs of the fields and passes them on to the next component, instead of just combining the unit tests. Secondly, I feel like your code editor is a bit too small, you can't really see the code, even though that should be the focus of the video. EDIT 2: At 42:55 you also say that there is only one text box so just targeting "textbox" is fine. That is of course only the case if no other textbox will be added later. If you only have one test like this it would be easy to edit, but if you write a lot of tests like this adding components to pages can get very tedious very quickly because of the amount of tests you will have to edit, on top of the new tests you already have to write. EDIT 3: At about 45:00 you say "use as small of a value as possible", but I would personally argue that this way, you do not test larger values which are much more important. I would say a better option would be to reset the database before and/or after your tests, and to at least test larger values in your integration tests (especially very large values).
@ScienceSeekho
Жыл бұрын
Great!
@alexotoous
2 жыл бұрын
I have watched and taken countless testing courses but no one has ever explained the rationale behind testing better than this. Great Job 4:20/58:35
@thisaintmyrealname1
3 жыл бұрын
YES. Thank you. This is the other half of the knowledge that is required at jobs!
@dannieh9849
2 жыл бұрын
Hi! Really useful video. One suggested improvement is that, because of heavy indentation, maybe you could split the editor with a horizontal line instead of vertical? It's really hard to follow when you're scrolling left to right. At almost no point was it possible to read an entire instruction without you doing that. Thanks and keep doing what you're doing!
@jasonpmerrigan
2 жыл бұрын
Great video, thank you very much. Just one small bit of feedback/improvement, I find its always best to have the full code editor on the screen, not having to scroll left and right. Other than that, everything was great, thank you both.
@bufootballa
2 жыл бұрын
This video was simply INCREDIBLE! Do yourself a favor and watch from start to finish. You won't regret it and will definitely add some items to your skillset, especially the amazing Cypress automated tests! It was so much simpler than I imagined to get automated E2E tests setup and running! Thanks Brad and Mitchel!
@nickschmitt8594
3 жыл бұрын
End-to-end testing with Cypress is amazing, but it'll miss out on the tiny details that unit testing will cover. That's why the whole pyramid is essential. Great video!
@sethwhitaker5567
2 жыл бұрын
Yeah that's what I'm thinking as well. I am new to testing, but it seems like unit tests help locate precisely where bugs are in your code, integration tests help determine whether the components of your app interact together properly, and end-to-end tests help check whether workflows are behaving as expected in a more realistic user situation. All seem necessary, or at least beneficial.
@muhammed_rahif
3 жыл бұрын
Exactly what I needed... perfect timing...🤩
@dennisgonzales9521
3 жыл бұрын
Same here haha
@vaibhavshukla4761
3 жыл бұрын
I am praying for you to have your all problems solved and all mighty to give you strength to fight you problems. please be strong!
@devorein
3 жыл бұрын
Found another gem. Thank you so much, Brad and Techbase.
@makombi32
2 жыл бұрын
Great tutorial, went from knowing nothing about automatic testing to slowly but surely implementing it in my own projects in just about 60 minutes.
@JohnKomarnicki
3 жыл бұрын
Always a pleasure to see your promoting other content creators! Testing is not talked about as much, glad to see this covered in this guest video! Great video, Mitchel!
@TechbaseDev
3 жыл бұрын
Thanks John! And yes, the fact that Brad gives other content creators these kind of chances says a lot about him as a person 🐐
@JohnKomarnicki
3 жыл бұрын
@@TechbaseDev He really is the 🐐. I can relate, as i had the opportunity a few months back to create a video for his audience. He helps out others more than i think he knows. Good luck in the future, will definitely stay updated with your channel!
@adyarabiat9394
3 жыл бұрын
I miss your speech videos (non tutorial ones). I wish you get better soon Brad 🙏🏼
@mukul98s
3 жыл бұрын
Timing can't be better. I have been looking for this and boom 💥
@ceciliaalbero7284
2 жыл бұрын
this is PURE GOLD. Best video to get into Jest. Thank you Brad and Mitchel
@darkfrozen1860
11 ай бұрын
So, this doesn't work anymore. Tried really hard to setup the project but it just doesn't work at all. Searched online and they were saying to downgrade to node 16 etc. Tried all the other fixes none worked.
@romimaximus
3 жыл бұрын
Awesome !! yeahhh "testing" !! we really needed a tutorial like this !! thankx Brad and Mitchel !! you dont know how much this helped me and many others Devs out there..!! 😊👍
@hsingh110
Жыл бұрын
A great video on testing, I have been looking for something like this for days and it really covered everything I needed for my current project. The only suggestion I have is being mindful of your IDE placement, as at times I couldnt see the full code, so had to replay several times in certain parts of the video. Thank you for the great content Mitchel and Brad
@ansonthedev
3 жыл бұрын
Perfect video! Testing is very important and I'm glad it's being covered. Thanks Techbase & Brad! :)
@kidschannel2115
2 жыл бұрын
thanks for this course,this is the best and reliable channel to learn new techs, btw plz be noted "yarn install && yarn dev" command is replaced with "yarn add add yarn dev". for them who struggled at this point
@rakesh.rankawat
3 жыл бұрын
This is why I like Brad more because he focus on doing more instead of just showing stuffs.
@80Vikram
3 жыл бұрын
thanks a ton to both of you, god bless you both. Code without test cases is like driving without seat belts on, it upto you which one you prefer :)
@FaisalMahmood91
2 жыл бұрын
Thank you that was great! I was also able to enable typescript in both the unit and e2e testing files which made things a bit more clear having types/suggestions/warnings etc.
@adrienconversanodbl_g5119
3 жыл бұрын
Thank you Traversy ! I enjoy both your project tutorials as well as your UDEMY courses !
@aronhegedus
2 жыл бұрын
that helped library seems very OP, thanks for showing
@ahmadjonabdusamadov4282
3 жыл бұрын
that's it what I'm looking for these days:) thank you guys
@1TaylorUK
2 жыл бұрын
Really helpful video as always. For future reference, I really struggle to follow along and understand the code because it was half the width of the screen.
@king-manu2758
3 жыл бұрын
When you did the cypress bit with testing playground I think testing finally clicked for me.
@licokr
2 жыл бұрын
Thank you very much, before watching this video, I was afraid to write test codes, and now I think I would make it well
@eliasmanzano1574
2 жыл бұрын
I did not see the video was yours and when I listen to the intro music I was like...hell yeah! Muchas Gracias señor Brad
@aryansingh2105
2 жыл бұрын
I learned about the Test Playground tool which is super useful. I loved E2E testing using cypress. I think unit testing part could be improved by including different ways to get and different assertions along with a small example of mocking. Mitchel is very nice instructor. He explained things very nicely. On all as always great video loved it.👌🙌
@shivani9840
2 жыл бұрын
Hey Aryan! Are you a fresher and open to opportunities in web development currently? Have you created any projects in JavaScript frameworks?
@FernandoPonteFilho
3 жыл бұрын
Fantastic! Thanks for the content, I have your MERN eCommerce and miss a lot on good content covering tests.
@Bruno87198
3 жыл бұрын
This is exactly the content that I was looking for! Thank you so much!
@ParthChokshi
3 жыл бұрын
Great to see testing video. Not a lot of folks cover this much!
@BlurryBit
3 жыл бұрын
Exactly what I was looking for ( i kw there are lots of others on YT, but not as a single video...) :D :D Awesome stuffs man. Will be very helpful. Please keep up the good works. :)
@scottwears674
2 жыл бұрын
I think these videos are incredible, Brad is known as the father of web tutorials and it's lovely to see people who have probably gain some knowledge from him create videos for the channel and for Brad to alway big up his friends
@Cazi_Myth
3 жыл бұрын
Exactly what I'm trying to learn at the moment!
@chintansawla
2 жыл бұрын
This is such a good method of teaching how to test a react app. Loved the video!
@Abelfubu
3 жыл бұрын
Perfect timing! I was just looking for a testing library guide with react and then this videos just came out, amazing!
@codehan
3 жыл бұрын
Finally! Please do more testing courses!
@barteg_s
3 жыл бұрын
Just in time for my end of uni project, incredible, thank you!
@2u841r
18 күн бұрын
Thank you channel owner and Guest Teacher.
@nothjg
3 жыл бұрын
thanks for this I was exactly looking for this
@zaqisilverano
2 жыл бұрын
Great!! This video really help me understanding testing!
@codezero6023
3 жыл бұрын
Wow! That’s cool! Will definitely find a use for Cyprus. I will also look at Selinium too
@ranjanarulanandham3981
3 жыл бұрын
kzitem.info/news/bejne/24lp2KeLpZyHh3Y
@munapadhi8723
3 жыл бұрын
Your teaching is always outstanding , we are waiting your new video, thanks for your hard work keep growing 🙏
@Human_Evolution-
3 жыл бұрын
Using hotkeys to clear the test output is nice for testing. If you have a macro keyboard, you can make a clear button, it's super handy! CLEAR TERMINAL: press Ctrl + Shift + P key together
@anilloutombam
3 жыл бұрын
Perfect Timing ❤️ Was just searching damn Brad ❤️❤️
@chetanjain4616
3 жыл бұрын
I have a suggestion please, either use full screen of browser or code editor at time, because Mitchel here has his browser, editor and terminal all open in same screen and I understand that he has a wide monitor so its not that difficult for him to keep track of whats where but my eyes are hurting looking at the screen even in full screen in KZitem. So If possible can you do something about that? Great Course BTW!
@jonatasdeoliveiracoelho4691
2 жыл бұрын
Thank you very much, Mitchel! I learnt a lot with your good explanations.
@TechbaseDev
2 жыл бұрын
Thanks Jonatas, appreciate it a lot!
@moseschris9756
2 жыл бұрын
This is really amazing brad, I have learnt a lot from your channel. Keep up the good work sir.
@hercules2170
3 жыл бұрын
This video was super informative...Thanks a bunch Mitchel! :)
@anaelennaemeka4078
Жыл бұрын
Fantastic, now I have a basic understanding of React testing.
@khoushiekram5287
2 жыл бұрын
Thanks a bunch Mitchell & Brad for making this awesome video react testing tutorial for us!
@mohamedfouedslama3412
Жыл бұрын
That is one awesome tutorial right there ! honestly great job Mitchel and thank you for this detailed how to test. keep up the hard work.
@TimWinfred
2 жыл бұрын
For accessibility, your form inputs should ALWAYS have labels.
@TechbaseDev
2 жыл бұрын
Agreed! I wish all UI/UX-designers would take that in consideration as well.
@josephinegeoghegan2913
2 жыл бұрын
This looks so cool, I really want to do it. I'm having a lot of issues with the setup, because some of it is deprecated.
@tevinmorake8924
3 жыл бұрын
I think the comment section can agree that Mitchel has earned our subs. Thanks for featuring him Daddy Traversy!
@TechbaseDev
3 жыл бұрын
Thanks so much man!
@Vickishh
Жыл бұрын
Thank you, I never knew testing could be this fun😁
@PeterMumford
Жыл бұрын
I can't get the repo to run. It appears to be completely stuck in dependency conflicts. The breaking error is "Module not found: Can't resolve '../aws-exports'" . But aws-exports in not a dependency. It appears to be a container. There are open issues on the repo regarding this same problem.
@fixitm365
Жыл бұрын
I'm faced with the same issue. Have you found a solution yet?
@CalebAlldrin1
Жыл бұрын
same
@asaganda1
Жыл бұрын
Good tutorial and lessons/theory on testing. At the 33:48 mark, I had trouble with Cypress version 12.8.1 when it came to detecting the custom test we wrote. Cypress doesn't detect the file because you have to add ".cy.js" to the end of the file instead of just ".js"
@rohittendulkar4958
Жыл бұрын
Thanks. This comment helped me out a lot. Which testing type did you choose?
@avinashmurmu9070
3 жыл бұрын
these are the tutorials I am looking for ❤️
@27sosite73
10 ай бұрын
yep, this is the best video on what to test on the internet, ty guys
@27sosite73
10 ай бұрын
extremely thankfully for this video
@michajaron6236
3 жыл бұрын
Doing my first testing tomorrow right in time😄
@promwaseem
Жыл бұрын
Finally completed this in 7 days, daily chunk by chunk. 🎯
@detectiveburkanov
3 жыл бұрын
good content except for one thing: one half of screen has browser with tiny form with 90% empty unused space, other half is zoomed in snapped in half code with terminal which leaves even smaller window for code
@susmitobhattacharyya1668
3 жыл бұрын
Brad & Techbase thank you so much ! Can we have some good content on enzyme also please?
@ExplorationAT
3 жыл бұрын
nice instructor, the project is absolutely enormous for a 1hr tutorial, was overkill for my CPU
@bobkazamakis5169
3 жыл бұрын
More about testing please! Great job team.
@Hi-373
2 жыл бұрын
really well done, I have waited alot of tutorials and your knowledge and delivery is excellent, keep up the good work
@anvarsaidov8964
2 жыл бұрын
Thank you Brad for getting Justin Timberlake's cousin put together and awesome tutorial!
@mahdipakravan676
2 жыл бұрын
Special thanks Brad & mitchel 🎇💪
@OTadashi162
2 жыл бұрын
Awesome, this is the best testing tutorial for React i have ever watch
@michaelask9018
2 жыл бұрын
Good content - I would recommend making the application screen smaller so we could actually read all of the code - but again, very nice presentation
@yaldakarimi3772
3 жыл бұрын
Love you both, great content on both channels thank you
@TechbaseDev
3 жыл бұрын
Thanks so much 🙏
@0xyz
2 жыл бұрын
Great tutorial, Techbase should please increase size of vscode editor to full width or 80% of the screen and should be on the left side. Its difficult to watch the current way it is
@ilian0002
3 жыл бұрын
Excellent video but could you please try to fit the screen with code in a bit larger area?
@sensational3771
3 жыл бұрын
thank you my favorite coder , nice
@27sosite73
10 ай бұрын
Many people have different preferences when it comes to file structure, but I believe it should be organized by features rather than adhering to the 'smart and dumb' methodology. The 'Tao of React' book explains this concept effectively.
@HoneyLemonNuin
Жыл бұрын
Thank you so much. This is very helpful. I have learn a lot from this video.
@arnabgoswami8971
3 жыл бұрын
This is awesome tutorial
@eleah2665
3 жыл бұрын
Hello Brad. Always good to see you. Still the king.
@frankiefab
3 жыл бұрын
Just came at the right time. Thank you
@davidkezi6086
3 жыл бұрын
Thanks for this. I loved it ❤️ Learnt a thing or two
@TechbaseDev
3 жыл бұрын
Thanks so much David!
@TechbaseDev
3 жыл бұрын
So great to see the video live on Brad's channel 🔥 I hope everyone enjoys it and if you have any questions, let me know in the comments! Thanks Brad, much love & take care ❤️
@ajeethkumarr6744
3 жыл бұрын
Hey Brad I am doing your udemy mern Ecommerce project, in fetching data from react chapter I got stuck on http-error 431 , what should I do to get rid of this?
@GewoonWijnand
2 жыл бұрын
Great video man! Thanks
@TechbaseDev
2 жыл бұрын
Thanks bro!
@aadil4236
3 жыл бұрын
Hey brad how are you doing? Thanks, for this great tutorial. I would love a tutorial series about the implementation of the front-end with React and typescript. It's so confusing. I can make sense of the types in typescript alone, but when it comes to React with typescript (with all the ReactNodeElemeents and stuff it doesn't make sense. A recommendation to some course on youtube or book will do as well, but I prefer to learn from you it's easy and concise) Sorry for this long ass comment.
@dsqaurecoding
3 жыл бұрын
Once again you read my mind, I just need this course 😲
@dvvinodkumar6672
2 жыл бұрын
it's really a interesting video and very helpful and very easy way of testing especially for a beginner.
@huseynfy
2 жыл бұрын
Thank you so much for this great video!
@luisdwq123
2 жыл бұрын
Great tutorial!! I have a suggestion though, the editor font size could be smaller, the way it is now its hard to read the code in its entirety because its too zoom in :)
@donc5631
2 жыл бұрын
Great video Thanks
@nbo304
Жыл бұрын
The starting repo is broken and outdated. Just saving you some time. Do some other video.
@erwin7427
3 жыл бұрын
More of these, please!!
@veeresh4441
3 жыл бұрын
Shit , everytime I think of learning, I see Brad posting it . Last week I thought of learning typescript, Brad posted a related video.
Пікірлер: 373