BDD in Flutter #4 - Mocking Network

  Рет қаралды 2,194

Oleksandr Leushchenko

Oleksandr Leushchenko

Күн бұрын

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 3 жыл бұрын
If we use mocks, what functionalities are not covered? what other things we should test, if we use mocks?
@olexale
@olexale 3 жыл бұрын
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.
@erivasMASTERQ
@erivasMASTERQ 3 жыл бұрын
Bro i need your help
@olexale
@olexale 3 жыл бұрын
Sure. What's up?
@matej0909
@matej0909 3 жыл бұрын
noice
@qamarhu6975
@qamarhu6975 3 жыл бұрын
Plz can you make a video for AR 3d model of resaurants food like burgar or pizza and how to show it with flutter.😪
"Building Better Apps with BDD" talk by Oleksandr Leushchenko | Flutter Riga #1
37:17
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 298 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
"BDD in Flutter" talk by Oleksandr Leushchenko at Flutter Vikings 2022
28:18
BDD in Flutter - how to test mobile apps in a natural language
5:21
Oleksandr Leushchenko
Рет қаралды 7 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН
BDD in Flutter #3 - Golden Tests
6:52
Oleksandr Leushchenko
Рет қаралды 3,4 М.
A Deep Dive into JVM Start-Up
22:03
Java
Рет қаралды 31 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 200 М.
Nvidia CEO Huang New Chips, AI, Musk, Meeting Trump
15:28
Bloomberg Technology
Рет қаралды 219 М.