Skip to content
0:00 / 0:00

#flutter#bdd#mocktail

BDD in Flutter #4 — Mocking Network

Oleksandr Leushchenko

1.2K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Oleksandr Leushchenko
  • Linked in the descriptionolexale/flutteristas_conf_2021
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

2.6K views5 years ago1 recommendation

Mobile developmentTools and practiceTestingFlutter and React Native

Oleksandr Leushchenko shows how to mock network operations in Flutter to keep behavior-driven development tests fast and reliable.

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: youtu.be/GGwTfsPDiO0?t=511 Completed project: github.com/olexale/flutteristas_conf_2021 BDD widget test plugin: pub.dev/packages/bdd_widget_test​ Mocktail image network plugin: pub.dev/packages/mocktail_image_network

Why it's here

1 person recommends this

What people say. Recommended as a practical guide to mocking network requests in Flutter BDD widget tests.

u/olexa_lein r/FlutterDev • Recommends

BDD in Flutter #4 — Mocking Network