Mobile Magic
Mobile Magic
  • Видео 4
  • Просмотров 21 428
Testing redux and react native with testing library
Writing tests is a confusing topic at first. A lot of doubts arise, and although I have covered some of them in my last video about testing, one recurring question I received in the comments section was "How to test redux"
this video comes to answer that question
useful links:
- Project: github.com/gabrielEloy/react-native-redux-testing
- React native testing library docs: callstack.github.io/react-native-testing-library/
- My last video covering tests: ruclips.net/video/vXrTXC5KiCU/видео.html
Make sure to like the video and follow me on twitter
twitter: MobileMagic5
Просмотров: 3 354

Видео

React Native animations with lottie
Просмотров 3,5 тыс.3 года назад
In this video we are going to learn how to create awesome animations in react native using lottie. Lottie is an awesome library created by airbnb for adding lightweight and easy to use animations created in adobe after effects directly into our applications Useful Links: Github repo: github.com/gabrielEloy/LottieTutorial Lottie Files Website: lottiefiles.com/ Used animations: lottiefiles.com/48...
Tests in React Native with testing library
Просмотров 15 тыс.3 года назад
Testing aplications usign react native and testing library After the video was released, one of the subs suggested that It would be great if I linked a github repo so you wouldn't have to keep pausing the video to read my code. I thought that was an awesome idea, and created the repo, so if you want to download the code and test it with me, you can find it in this link project repo: github.com/...

Комментарии

  • @MatthewMcCredy
    @MatthewMcCredy 6 дней назад

    You should make a video on performing tests that query the redux store - that's why I'm here :) Good video anyways!

  • @AdlejandroP
    @AdlejandroP 2 месяца назад

    sorry but in your renderFromRedux file where are you getting "render" from, wouldnt it just be undefined

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

    Great video. Thank you 🎉

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

    Great video. I have been struggling with testing for awhile so this was helpful. You hit on a few things that I had trouble with so thank you for the video. Keep it up!

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

    This is a very good tutorial, especially for someone who's learning how to start testing their react native application. You've done a very good job and thank you for the video.

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

    Man, how do you test onFocus for text input on RN using RTL?

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

    Good content on react native testing, thanks

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

    Thanks! It was interesting and usefull!

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

    By the way, what is the Vscode Extension you're using for the testing?

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

      did you find the extenstion name, pls let me know

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

    I love it because you don't go around things like most of the tutorials I've seen. You're straight to the point. Clear explanation. Nothing to complain about. You've got a follower and I hope you can keep posting things like this.

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

    Out of all the React Native testing videos I've seen, this has clarified it the best. Great first video! The only feedback I'd give is that some of the audio overlaps when video clips are edited together.

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

    Hey man, how I can test the async thunks (createAsyncThunk) ?

  • @acm.marques
    @acm.marques 2 года назад

    Hey Man nice explanation and I learned a lot keep going.

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

    Thanks for share this content, is simple, well explain and knowledge of this is amazing

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

    "bazicly"

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

    be regular man .

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

    Nice video man! Helped me a lot

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

    Great video man! Keep on that, loved the content dude!

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

    dude, your explanation is so clear, and that vid is really helpful sincee there aren't any good test vids on youtube. thanks bro. I subbed.

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

    thank you

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

    Muito bom seu conteúdo continue postando mais sobre testes, please.

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

    Hey bro nice explanation. What is the extension ur using for testing(shows some UI on vscode with test passed/failed)

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

    Very good explain. If you cat it better will perfect tutorial. Respect

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

    I appreciate.

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

    this is a super great video

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

    I am wondering how this testing will work automatically and creating todos, multiple todos, and deleting todos by itself on the emulator?

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

      No it will not run on the/a emulator. These tests are running on node environment! You may be looking for E2E test with Detox.

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

      @@rokonzamann have you tried Detox already?

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

      @@shafiqshams3065 Yes.

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

    medio video compare good video :)

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

    Very nice tutorial!

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

    Excellent video. Keep it up 👍

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

    keep on creating react native tutorials. this is very helpful for noobs like me.

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

    Excellent video!

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

    it was cool

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

    Great job brother... Plz also make a video on redux testing also

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

      Hello Ajmal, I'm glad you liked it. I'm working on a redux video. It shall be out next week

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

      @@mobilemagic6946 thanks👍

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

      has it released?

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

    Why not say "Unit Testing" + "Integration Testing"

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

    How do I test a material ui checkbox to see if its checked? Sounds simple but no docs explain it..

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

    Hello guys. Did anyone faced with the issue like this: When I run the test it says "Your test suite must contain at least one test." I am getting this result since the test when I run "2 + 2 equal 4" and all next test I repeated as an author always brings me same result: "Your test suite must contain at least one test." I checked testing-library version and jest version - they are the same as in the video. By the way, Mobile Magic, thax for the video, it is brilliant. Sure when I will fix my problem it will provide me an ability to evaluate all the profit from this video))

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

      Hi Egor, were you able to solve this ? maybe you had some other test file created without any test on it. and also make sure that you have at least one describe / it / expect on each of your files

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

    Amazing video!. Thanks for sharing it. Please upload a video making a test for a crud project consuming a API, and another video consuming another crud API but with redux. Thank you!

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

    Excellent video. My other comment was to bookmark/timestamp my favorite part for easy reference :-)

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

    18:34 Apply the same test logic to a component.

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

    Best video for react-native-testing-library I've found so far and I've been at it for an hour)