In this video I walk through my process for writing tests, using React Native Testing Library, on a React Native screen. We write tests for the client side validation and form submission. Code and more resources: www.reactnativ...
Пікірлер: 30
@BharatSingh-zk8lx2 жыл бұрын
haha loved this raw video, especially the google search for the issues.
@suyesh4 жыл бұрын
Finally a good video on react native testing. Thank you.
@ReactNativeSchool4 жыл бұрын
Glad you liked it! Let me know what other testing questions you have or what you'd like to see related to testing. It's a topic I want to dive deeper into.
@kabugh4 жыл бұрын
I've recently learned how to do it in React, so React Native video comes perfectly on time. Thanks!
@fotios49023 жыл бұрын
I really liked the flow! Great tutorial!
@anandhusajeev21464 жыл бұрын
Nice video, for the last two days I too looking at the react-native testing library example for my project. looking for more on this topic, especially mocking API calls using Axios, handling redux form, and 'rematch' structured projects component handling using react native testing library
@gastonquelali12262 жыл бұрын
Excellent video, thanks
@JulianKingman3 жыл бұрын
How do you decide how many things to test? Is there a checklist you go through when designing tests?
@marcoscunha61513 жыл бұрын
up
@ludwigvillalba18862 жыл бұрын
thanks for sharing!
@borasumer2 жыл бұрын
What is we use useNavigation in that component, and not getting the navigation object from props?
@johnj.rivers73182 жыл бұрын
You have to mock useNavigation the same way
@bashamuhammad28173 жыл бұрын
Good video 👌. Keep it up
@balders9523 жыл бұрын
What's the best UI (BlackBox) testing framework for react native? I use cypress for my reactjs projects using the react selectors to query the dom via components and props which is a game-changer. I cant seem to find anything similar for Native.
@aligarajian88063 жыл бұрын
awesome content, thank you!
@alessandrob.g.45242 жыл бұрын
Hey, how do you test focus events on a Text Input in React Native?
@IvanStipic_Stiiv3 жыл бұрын
It is great you didn't edit the video, thanks for that! It is real word example of TDD workflow at last!
@bobbytop61092 жыл бұрын
Thankyou for the tutorial. But how can you mock the test with axios? It would be great if you could provide me some refrence or some example.
@emyboybeats43304 жыл бұрын
Do you have more videos on Testing? Testing videos aren't all that much on youtube
@ReactNativeSchool4 жыл бұрын
I've got a few over on React Native School - www.reactnativeschool.com/topic/testing. Let me know what questions you have though. This is a topic I want to dive deeper into.
@aadarshaacharya2673 жыл бұрын
Which theme are you using on VSCODE ? Is that Night Owl?
@ReactNativeSchool3 жыл бұрын
It sure is!
@emyboybeats43304 жыл бұрын
what extension are you using to show the check marks?
Just looked at your course material. It looks really good and relevant topics. If you are open for suggestions I would suggest covering payment - since it allows more investment return on taking the courses. I'm personally very interested in testing and would also love to automate a build process for both platforms like expo turtle does.
@MerciBro3 жыл бұрын
Why is "Login" passing as 2. Shouldn't it be 5?
@MerciBro3 жыл бұрын
Neverminded. I see my problem now.
@loekTheDreamer2 жыл бұрын
i love tutorials that don't work in the real world. yes your page loads automatically but in the real world we have state that effect how things are loaded. now where do i actually find one dealing with a real app?
@LCRASW1232 жыл бұрын
I'm new to react-native, is there a matcher like .toBeInTheDocument()?