BDD in Flutter #4 - Mocking Network

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024
  • The main purpose of BDD is to align the product vision between all team members. Though having a robot that validates all agreements for free and in no time is a cool thing too! Wouldn't it be nice if it could check contracts between the app and the BE as well?
    In this video I'm gonna show you how to mock network operations, so your tests will stay blasting fast without compromising on test coverage.
    ---------------------------
    Anna's talk: • Part 3/4 :: Flutterist...
    Completed project: github.com/ole...
    BDD widget test plugin: pub.dev/packag...
    Mocktail image network plugin: pub.dev/packag...

ความคิดเห็น • 7

  • @neijaywarner
    @neijaywarner 3 ปีที่แล้ว

    wow nice job

  • @HashemRC
    @HashemRC 2 ปีที่แล้ว

    If we use mocks, what functionalities are not covered? what other things we should test, if we use mocks?

    • @olexale
      @olexale  2 ปีที่แล้ว +1

      All things that you had to replace with mocks will not be tested. That would be platform-specific things (camera, GPS, biometric, etc) as they just don't exist outside of the platform and so are not available in unit/widget tests.

  • @qamarhu6975
    @qamarhu6975 2 ปีที่แล้ว

    Plz can you make a video for AR 3d model of resaurants food like burgar or pizza and how to show it with flutter.😪

  • @matej0909
    @matej0909 3 ปีที่แล้ว

    noice

  • @erivasMASTERQ
    @erivasMASTERQ 3 ปีที่แล้ว

    Bro i need your help

    • @olexale
      @olexale  3 ปีที่แล้ว

      Sure. What's up?