How to Unit Test in Flutter - Guide

Поділитися
Вставка
  • Опубліковано 29 кві 2021
  • This video goes over the way I develop using tests to in a practical manner to speed up my development process.
    git: github.com/FilledStacks/boxtout
    snippets: gist.github.com/FilledStacks/...
  • Наука та технологія

КОМЕНТАРІ • 42

  • @ysapaa9173
    @ysapaa9173 3 роки тому +6

    Amazing work as always, very accessible explanation. I love how you show production ready code, and how to handle real-world scenarios. Many channels only focus on basics, and you show more complicated aspects, every new video deliver great value. Much appreciated!

    • @FilledStacks
      @FilledStacks  3 роки тому +1

      Thank you for the thoughtful comment! I appreciate it. I'm very happy that the content is engaging and delivering value.

  • @isaacadariku
    @isaacadariku 3 роки тому +1

    Such a perfect time for the video 😁💙 Thanks so much 🚀

  • @aymennurhussen3689
    @aymennurhussen3689 3 роки тому

    🔥🔥🔥🔥 as expected. I should really start by unit testing then actual implementation. you make it seem like it's magical 😅.

    • @FilledStacks
      @FilledStacks  3 роки тому +1

      Happy you got some value out of it. It works very well for me, makes building something according to spec super easy. For me at least.

  • @sadabwasim9850
    @sadabwasim9850 3 роки тому

    Love to see more TDD with Stacked architecture.

    • @FilledStacks
      @FilledStacks  3 роки тому +4

      Great! Because I'll be developing a lot of the larger pieces of functionality using my modified TDD approach during the development of Boxtout

  • @ferferrara
    @ferferrara 3 роки тому

    Dopeeee 🔥

  • @miguel_bogota
    @miguel_bogota 3 роки тому +4

    Hahaha in spanish mockito sounds like moquito which means little booger. xD

    • @FilledStacks
      @FilledStacks  3 роки тому +2

      hahaha, that's great :D that name would also work for a package.

  • @amv-monster
    @amv-monster 3 роки тому

    Hey dane I am an independent freelancer. Can you make a video about how to get clients and how to deal with clients or anything like that. Btw this series is amazing! Am loving it! Keep going.

    • @FilledStacks
      @FilledStacks  3 роки тому

      Hey hey Aryash, at the moment I don't think I have anything to say that you can't get from The Futur, Garyvee or the guy fro. Design course youtube channel.
      Which is, share your work, put out content and talk to everyone that talks to you.

  • @emmanuelsonzico5997
    @emmanuelsonzico5997 3 роки тому

    Dane my CS teacher

  • @parkerrex
    @parkerrex 3 роки тому

    Dropping the 100K race plug at 1:30 I see. WERE IN A RACE DANE.

  • @Kvsanal78
    @Kvsanal78 3 роки тому

    Hey Dane this is a great tutorial. If possible can you make a video on how unit test, integration test, widget test differ from each other and which one is more important and why we should apply it in our project ?. Thanks in advance

    • @FilledStacks
      @FilledStacks  3 роки тому +1

      Thank you Sanal! That's a great question, and definitely worth exploring. I can tackle that some time when we do integration testing. Definitely something i'll keep in mind as I'm making the next videos. I really appreciate the question. Thanks again.

    • @Kvsanal78
      @Kvsanal78 3 роки тому

      @@FilledStacks thanks for the reply 🙌🏻

  • @pincharuzihaan4031
    @pincharuzihaan4031 3 роки тому

    Great video. Just wanted to ask whether you are planning on moving to navigator 2.0 or is it already implemented?

    • @FilledStacks
      @FilledStacks  3 роки тому

      Hey Pincharu, I have no plans for it at the moment but I probably will have to if I want all the nice web functionality.

  • @g-tensolution8527
    @g-tensolution8527 3 роки тому

    Wooooooo🙏🙏

    • @FilledStacks
      @FilledStacks  3 роки тому

      Yup yup ! Unit testing for the win

  • @jeremaine
    @jeremaine 3 роки тому

    nice.... :)

  • @taufeeqrazak9572
    @taufeeqrazak9572 3 роки тому

    have you tried out the vim extension for vs code?

    • @FilledStacks
      @FilledStacks  3 роки тому

      I have watched the video and have not tried it yet. But I'm doing mouse free now without that extension. I just needed the file utils and new file creation. Now I'm roaming without the mouse, just the unit testing UI and reports that I need to figure out.

  • @indiechatofficial
    @indiechatofficial 6 місяців тому

    Any idea why I get this in my new filled stacks library ? Target of UI does not exist 'test_helpers.mocks.dart'. Looks like the class doesn't exist.

    • @FilledStacks
      @FilledStacks  6 місяців тому

      You probably haven't run the generator to create the file. That's a generated file.

  • @jeremaine
    @jeremaine 3 роки тому

    I hope this time I can uderstand how to do unit testing :)

    • @FilledStacks
      @FilledStacks  3 роки тому +2

      haha, I hope so to :D I practiced TDD everyday for years. I literally practiced in the morning. I use to do a kata for an hour before I started work so there's a lot of stuff that I learned during that time that won't fit into a 20 minute tutorial.

    • @jeremaine
      @jeremaine 3 роки тому

      @@FilledStacks if I am watching you it looks very easy but when I tried applying on my code, I cant even type 1 line. LOL.

    • @seanterrencecalzada7496
      @seanterrencecalzada7496 3 роки тому

      I have thought (after I watch ResoCoder) that I'm so dumb in TDD, then I read this comment,... I just really need to be consistent

    • @doombois8170
      @doombois8170 3 роки тому

      @@FilledStacks what is kata?

    • @FilledStacks
      @FilledStacks  3 роки тому +1

      @@doombois8170 It's an exercise you do with a time limit to solve a problem using strict TDD practice. That means writing the next unit test that fails and then writing ONLY the code to pass that unit test.
      Doing that for every requirement and refactoring along the way. There's a lot of info out there on it. Here's a website with a lot of those problems. kata-log.rocks/tdd

  • @boredduck231
    @boredduck231 3 роки тому +2

    first

    • @FilledStacks
      @FilledStacks  3 роки тому

      You are :D

    • @seanterrencecalzada7496
      @seanterrencecalzada7496 3 роки тому

      I should have commented first lmao😂😂😂

    • @FilledStacks
      @FilledStacks  3 роки тому

      @@seanterrencecalzada7496 the claim of first is a strange one isn't it? - Just thinking out loud.