Testing a Screen with React Native Testing Library [Live Coding]

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 30

  • @BharatSingh-zk8lx
    @BharatSingh-zk8lx 2 года назад

    haha loved this raw video, especially the google search for the issues.

  • @kabugh
    @kabugh 3 года назад +1

    I've recently learned how to do it in React, so React Native video comes perfectly on time. Thanks!

  • @suyesh
    @suyesh 3 года назад +11

    Finally a good video on react native testing. Thank you.

    • @ReactNativeSchool
      @ReactNativeSchool  3 года назад +3

      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.

  • @anandhusajeev2146
    @anandhusajeev2146 3 года назад +1

    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

  • @fotios4902
    @fotios4902 2 года назад

    I really liked the flow! Great tutorial!

  • @JulianKingman
    @JulianKingman 3 года назад +5

    How do you decide how many things to test? Is there a checklist you go through when designing tests?

  • @balders952
    @balders952 3 года назад +1

    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.

  • @gastonquelali1226
    @gastonquelali1226 2 года назад

    Excellent video, thanks

  • @ludwigvillalba1886
    @ludwigvillalba1886 Год назад

    thanks for sharing!

  • @borasumer
    @borasumer 2 года назад +1

    What is we use useNavigation in that component, and not getting the navigation object from props?

  • @bobbytop6109
    @bobbytop6109 2 года назад

    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.

  • @alessandrob.g.4524
    @alessandrob.g.4524 2 года назад

    Hey, how do you test focus events on a Text Input in React Native?

  • @aligarajian8806
    @aligarajian8806 2 года назад

    awesome content, thank you!

  • @IvanStipic_Stiiv
    @IvanStipic_Stiiv 3 года назад +1

    It is great you didn't edit the video, thanks for that! It is real word example of TDD workflow at last!

  • @emyboybeats4330
    @emyboybeats4330 3 года назад

    Do you have more videos on Testing? Testing videos aren't all that much on youtube

    • @ReactNativeSchool
      @ReactNativeSchool  3 года назад

      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.

  • @aadarshaacharya267
    @aadarshaacharya267 3 года назад

    Which theme are you using on VSCODE ? Is that Night Owl?

  • @bashamuhammad2817
    @bashamuhammad2817 3 года назад

    Good video 👌. Keep it up

  • @emyboybeats4330
    @emyboybeats4330 3 года назад

    what extension are you using to show the check marks?

    • @ReactNativeSchool
      @ReactNativeSchool  3 года назад +2

      marketplace.visualstudio.com/items?itemName=Orta.vscode-jest

  • @Norfeldt
    @Norfeldt 3 года назад

    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.

  • @loekTheDreamer
    @loekTheDreamer 2 года назад

    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?

  • @MerciBro
    @MerciBro 3 года назад

    Why is "Login" passing as 2. Shouldn't it be 5?

    • @MerciBro
      @MerciBro 3 года назад

      Neverminded. I see my problem now.

  • @LCRASW123
    @LCRASW123 Год назад

    I'm new to react-native, is there a matcher like .toBeInTheDocument()?