React Testing Library Tutorial #4 - Structure of Tests

  Рет қаралды 97,609

Net Ninja

Net Ninja

3 жыл бұрын

Check out Laith's KZfaq channel for more tutorials:
/ @laithacademy
🐱‍💻 Access the course files on GitHub:
github.com/harblaith7/React-T...
🐱‍👤 Get access to extra premium courses on Net Ninja Pro:
netninja.dev
🐱‍💻 Full React Course:
• Full React Tutorial #1...
🐱‍💻 Social Links:
Facebook - / thenetninjauk
Twitter - / thenetninjauk
Instagram - / thenetninja

Пікірлер: 34
@asharma741
@asharma741 2 жыл бұрын
So far awesome, wonderful explanation. I have never written tests, but a lot of time I heard terminologies such as unit tests, it's now if I can understand it completely. Keep up the quality content, really enjoying 👍👏
@exodion4173
@exodion4173 2 жыл бұрын
Very well explained. Thanks.
@hossamsoliman917
@hossamsoliman917 2 жыл бұрын
Well explained, thanks a lot!
@HomelessDeamon
@HomelessDeamon 3 жыл бұрын
Boss Shaun is on the raise Agaiiiiiin!!!!!!!!!!!!!!!
@johnconnor9787
@johnconnor9787 3 жыл бұрын
Good tutorials. Is it possible to watch the following videos in this playlist? It says that access is limited
@AbdulMajid-ip6zh
@AbdulMajid-ip6zh Жыл бұрын
watching the lectures in 999k and now 1M congrats @The Net Ninja
@NetNinja
@NetNinja Жыл бұрын
Thanks Abdul!
@AbdulMajid-ip6zh
@AbdulMajid-ip6zh Жыл бұрын
@@NetNinja You welcome I can't believe you replied 😀
@PierreLaBaguette
@PierreLaBaguette 2 жыл бұрын
When and why would we typically use 'describe' vs 'test' vs 'it' blocks and their possible nesting?
@Nilkamalsha75
@Nilkamalsha75 3 жыл бұрын
Loved it
@johnsmith-oy9kx
@johnsmith-oy9kx 3 жыл бұрын
A 'React Native 2021' Course would be very helpful ! There are a lot out there... but we want it in your style, please...
@mohammadeskini7635
@mohammadeskini7635 2 жыл бұрын
keep up the good work :)
@anjaliraj3184
@anjaliraj3184 3 жыл бұрын
Awesome 👍
@michaelekwere2024
@michaelekwere2024 3 жыл бұрын
What is the keyboard shortcut he used for jumping through files in timestamp 7:43? Anyone please
@sairaj5660
@sairaj5660 3 жыл бұрын
Ctrl + Click => hold control or cmd key and click on the component it will take you to that file
@michaelekwere2024
@michaelekwere2024 3 жыл бұрын
@@sairaj5660 doesn't work
@AkshaySharma-sv3yl
@AkshaySharma-sv3yl 3 жыл бұрын
Ctrl + Tab or Cmd + Tab for mac is the shortcut I use to switch between files. PS: Wrote this comment before watching the video. Hope that helps. Edit: If you want to go to another (Child) component that is inside (Parent) Component then hold Ctrl or Cmd key & click on that child component.
@sarcasticdna
@sarcasticdna 2 жыл бұрын
On windows do alt+click on the component I don't know on Mac
@theslowmate7020
@theslowmate7020 8 ай бұрын
I actually love the lecture explaining testing theory, But so far I got confused with conclusion ending the lesson. He says the test is failing due to lack of element containing "learn react" string, but the error in the terminal (mine and his too) says the issue is with Switch not being nested in Router. And changing /learn react/ to /Followers/ doesn't fix that, However moving BrowserRouter from index.js to App.js does. But what really intrigues me is how moving this file to components directory actually make it pass! I hope to get some answers in following lessons 🤔
@mouradMsaken
@mouradMsaken 3 ай бұрын
Great vids, but there is a problem with the subtitles, they have no thing to do with what Laith is saying.
@doniaelfouly4142
@doniaelfouly4142 6 ай бұрын
thanks
@codebunny118
@codebunny118 3 жыл бұрын
Please make kotlin series !
@muhammadmehdi1304
@muhammadmehdi1304 3 жыл бұрын
Subtitle in english please
@ahmedalkhier5811
@ahmedalkhier5811 3 жыл бұрын
❤❤❤❤❤❤👍🏾👍🏾💞💕
@gpcubo4478
@gpcubo4478 2 жыл бұрын
Guys subtitiles are bad
@timzeynalov3537
@timzeynalov3537 2 жыл бұрын
so many words hey what the problem to show anything quickly?
@samarbid13
@samarbid13 3 жыл бұрын
you talk a lot!!!! just go straight to the subject!
@yassin_eldeeb
@yassin_eldeeb 3 жыл бұрын
Yeah I've the same opinion too, but it's just his style in teaching anything and honestly he teaches very very well, I took his Prisma Course on his channel and it was amazing, but yeah you're right, that's kinda disappointing that we're in lecture 4 and didn't learn anything about React Testing Library just how tests in general works.
@stackdeveloper6614
@stackdeveloper6614 3 жыл бұрын
Watch in 2x mate
@wobsoriano
@wobsoriano 3 жыл бұрын
That's how you teach testing tho.
@sarcasticdna
@sarcasticdna 2 жыл бұрын
@@wobsoriano exactly 😂 There will be a lot of theory about testing, considering what I have seen in books this is a lot less time
@petarp3938
@petarp3938 2 жыл бұрын
This is the first react testing tutorial that goes slower and more thorough, you are free to go watch all the other ones who just speedrun through the "tutorial".
@ofirka991
@ofirka991 7 ай бұрын
Dude if we are here we know how to write components in React. Get to the point already!
React Testing Library Tutorial #5 - Intro to Query Methods
8:30
React Testing Library Tutorial #7 - Using Query Methods
15:36
Net Ninja
Рет қаралды 72 М.
Heartwarming moment as priest rescues ceremony with kindness #shorts
00:33
Fabiosa Best Lifehacks
Рет қаралды 13 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 62 МЛН
Stop Writing So Many Tests
10:02
Web Dev Simplified
Рет қаралды 84 М.
Testing In React Tutorial - Jest and React Testing Library
21:28
All The JavaScript You Need To Know For React
28:00
PedroTech
Рет қаралды 579 М.
React Testing Library Tutorial #11 - Integration Tests
17:39
Net Ninja
Рет қаралды 62 М.
Build a Component Library for React with Typescript [2021]
20:50
The Nerdy Canuck
Рет қаралды 24 М.
How To Maximize Performance In Your React Apps
12:58
Web Dev Simplified
Рет қаралды 95 М.
How to use Vitest with Jest-DOM and React Testing Library
12:19
EricWinkDev
Рет қаралды 32 М.
Async JS Crash Course - Callbacks, Promises, Async Await
24:31
Traversy Media
Рет қаралды 1,4 МЛН
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН