Unit Test with Mockito in Flutter

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 6

  • @tutosolve
    @tutosolve 2 місяці тому +3

    clear, easy to learn .
    Thanks.

  • @electronicheartbreak.
    @electronicheartbreak. Місяць тому +1

    So, instead of literally calling said function, you have to write your own test implementation for it?

    • @AIWithFlutter
      @AIWithFlutter  24 дні тому

      Hi, thanks for your comment. You are still calling the function that you created just the data/response have to be mocked. This is because unit test focuses on testing the behaviour and it doesn’t include making real network request.

  • @MatthewYeo-fe7uj
    @MatthewYeo-fe7uj 5 місяців тому +2

    can u make a video on unit widget integration test with firebase auth and cloud firestore