Hey BungFerdly, I think you're doing really great job and demo in this Jest sharing. Appreciate if you could dive further in details on Mocking, Why/When Snapshot, other related UT topics. Thanks!
Thank you very much for explaining practical examples. I cannot express how grateful I am to see a tutorial that demonstrates a real-life scenario, unlike most of the other tutorials on this topic
Hello, can you please help me to understand how come jest.mock('../analyticUtils') make the "doSomeFirebaseLogic" defined after putting this line as it's not complaining any more about doSomeFirebaseLogic function but that is still undefined isn't it even after putting jest.mock('../analyticUtils')
hi bro , how bout E2E test automation? and which e2e tools is better for RN itself?! (thats mean easy to setup or usage and not possible to breakdown our app/code)..
Hi Ferdly, need help in solving test cases for an function Parent.js const Parent = ()=>{ const foo =()=>{ console.log("hello world") } return } Child.js const Child =({foo})=>{ const childFun=(e)=>{ foo() } return ( Nice day ) } For given above eg: i need to test foo function in parent component which has been called from child component from childFun
0:21 - Unit Test
2:43 - UI Test
3:52 - State Changes
5:13 - Async Task
6:45 - Redux
7:57 - Axios
8:29 - React Navigation
9:17 - Image
9:36 - Generate Report
Good job! Direct and to the point. Teaching almost exclusively with examples. Much better than most of the other tutorials online.
In just 10 minutes I learned how to use Jest effectively. Thank you very much for the great tutorial and support.
Really superb rbro, you made it simple and understandable. I have tried a lot get the basics and this helped. Kudos
This is amazing, you covered almost everything thanks!
This is a really great, efficient tutorial. Thanks!
Excellent tutorial. Would love to see more about testing, things like graphQL, styled components, redux thunk. Thank you
Great video. you covered lot of areas in a short time
Keep up the good work
Excellent. 100 times better than Jest's own documentation. Thank you Bung.
Learned alot from here. Great content! I'm currently facing an issue on testing my component that is using a State Hook.
Thanks man, this was simple and easy to understand
Thank you for this video. Please release more long and detailed videos about Jest please!!!
Woah! I think it really helps me to get started. Great tutorial for beginner like me. Thank you
I just subscribed to your channel because of this video. Very informative
Great tutorial, cheers!
Hey BungFerdly, I think you're doing really great job and demo in this Jest sharing. Appreciate if you could dive further in details on Mocking, Why/When Snapshot, other related UT topics. Thanks!
Great tutorial. Thanks 👍
holy damn, this is what i looking for, thank you brah!
Great Video so much packed in breif..thank you
Great tutorial, thank you
Great video you do it fast and easy
Exactly Point what i need to find...!!! Thank you
Excellent tutorial, please make more tutorials.
veryGood Explanation
thank you . Video very useful .
I hope you will releas much video in future about "Test jest"
that's amazing, thank you.
damn bro...... you save my life. thank you so much.
Thank you very much for explaining practical examples. I cannot express how grateful I am to see a tutorial that demonstrates a real-life scenario, unlike most of the other tutorials on this topic
This video was helpful
very detailed!
Thanks mate!
How can you test navigation button? to know that when you click then new screen shows up.
Hello, can you please help me to understand how come jest.mock('../analyticUtils') make the "doSomeFirebaseLogic" defined after putting this line as it's not complaining any more about doSomeFirebaseLogic function but that is still undefined isn't it even after putting jest.mock('../analyticUtils')
thank you very much sir
Super! thanks
god tier video tbh
How do you configure this for typescript expo reactnative project please... been giving me issues for a while now
thank you
do you know maybe how to test method inside component without exporting it?
Hi I am a newbie. Could you tell me difference between jest and React Test Renderer with react-testing-library?
keren om
Thanks
Man, how do you test onFocus for text input on RN using RTL?
Why you are not making new videos ?
hi bro , how bout E2E test automation? and which e2e tools is better for RN itself?! (thats mean easy to setup or usage and not possible to breakdown our app/code)..
Try Detox+TravisCI (reactnativetesting.io). It's quite easy to setup, at least for iOS
Thumbnail is good :D
🤣🤣🤣
Please i need help, am getting this error
× button press (48 ms)
● button press
TypeError: Cannot read property 'children' of undefined
13 |
14 | const text = tree.root.findAllByProps({testID: 'myText'}).props;
> 15 | expect(text.children).toEqual('button pressed');
| ^
16 | });
17 |
Great video. However you missed testing of Hooks.
Github link?
Hi Ferdly,
need help in solving test cases for an function
Parent.js
const Parent = ()=>{
const foo =()=>{
console.log("hello world")
}
return
}
Child.js
const Child =({foo})=>{
const childFun=(e)=>{
foo()
}
return (
Nice day
)
}
For given above eg: i need to test foo function in parent component which has been called from child component from childFun
Enjoy writing test cases? I wish that day will come 😋
bang pake subtitel bahasa indo dong ,kita yg orang lokal ga bisa bahasa engres
thank you