Flutter Unit Testing - Fast & Simple

Поділитися
Вставка
  • Опубліковано 16 січ 2025

КОМЕНТАРІ • 28

  • @RizkyGusna
    @RizkyGusna 2 роки тому +17

    Great explanation! I recently have problem about testing because we do test driven development in my work. I never do testing in my personal project. Really helpful

    • @FlutterMapp
      @FlutterMapp  2 роки тому +1

      Pleasure Rizky, I appreciate the comment 👏🔥🔥 Hope this help 👏

    • @infinitezymalny
      @infinitezymalny 2 роки тому

      Unit testing and generally testing in flutter is so enjoyable. You can easily check coverage and writing test is like a game.

  • @shashanksingh4708
    @shashanksingh4708 2 роки тому +10

    Can you show more such examples of unit testings implemented in your apps ?

  • @turobovfirdavs
    @turobovfirdavs 2 роки тому +4

    Could you prepare a video about *flutter bloc: ^8.0.1* Please

  • @kylychbekzhumabaiuulu397
    @kylychbekzhumabaiuulu397 2 роки тому +2

    I hope you will continue it🙌

    • @FlutterMapp
      @FlutterMapp  2 роки тому

      You can check the following (Widget Testing) if you want. Link in the deacription 🙌

  • @mazentarek7277
    @mazentarek7277 2 роки тому

    Thank you for your efforts

  • @Leitoz
    @Leitoz 2 роки тому +1

    Great video!

  • @emelinepal
    @emelinepal 2 роки тому

    Super simple explanation for begginers like me :) Thank you !

  • @mariosabar9260
    @mariosabar9260 2 роки тому +1

    Thnk for ur learn

  • @phatakom
    @phatakom 2 роки тому +2

    Created package 1 week ago and was confused whether to add testing or not. What's your take?

    • @ipavan
      @ipavan 2 роки тому +2

      I would say definetly add it, you might doubt it now but trust me when there is a time when you are making lot of changes to your package testing will help you a ton

  • @Jip1912
    @Jip1912 2 роки тому +1

    We are doing a project where a GoogleMap is the main screen. There are markers and when you click on them, something specific happens. We have no idea how to test this and I can't find anything online. Any idea?

  • @Pedro5antos_
    @Pedro5antos_ 2 роки тому

    Thanks!

  • @frostsmaker8966
    @frostsmaker8966 2 роки тому +1

    Woah,... I never create tests, when apps become more and more complex, I realized that I need tests.
    Test also needed to prove to others that the app works just fine.
    I am reluctant in creating tests (unit, widgets) because if I change my widgets or things, I also need to work on tests that create more work.
    For assurance, yes why not. :D

  • @mazentarek7277
    @mazentarek7277 2 роки тому

    thank you

  • @matthiasimegi8211
    @matthiasimegi8211 2 роки тому

    Thanks man

  • @amazing-content
    @amazing-content 2 роки тому

    Is GetX testable?

  • @jerryarekhandia1003
    @jerryarekhandia1003 2 роки тому +2

    Before now I used to think of testing as rocket science 😊but after this video, I now think differently

    • @FlutterMapp
      @FlutterMapp  2 роки тому

      Nicee! Its simple than it look like 🙏

  • @Rafiq07
    @Rafiq07 2 роки тому

    What if you have multiple counters on the page? How does it know which one to test?

    • @matthiasimegi8211
      @matthiasimegi8211 2 роки тому

      First, you counters should have different names.
      Test them by calling/using their names

  • @bulsond
    @bulsond 2 роки тому +2

    The correct name is AAA (arrange/act/assert) and not setup/do/test.

  • @mc_dunkan
    @mc_dunkan Рік тому

    What happens if a unit test in a group fails? Will the entire group fail?