Slide 1

Slide 1 text

Widge Behavior Tests Kendi J.

Slide 2

Slide 2 text

Widget behavior Test? This is a type of test in Flutter that focuses on stimulating user interactions with widgets and verifying their expected behavior

Slide 3

Slide 3 text

Our Major Focus Simulates user interactions with widgets to replicate real world scenarios e.g tap, swap, drag, etc Interaction Simulation Gestures and Animation Simulates gestures like long press, drag and drop, pinch to zoom. Validates animations by verifying that they start , progress and complete correctly based on specific interactions. 01 02

Slide 4

Slide 4 text

Our Major Focus Testing User flows Users navigating through various screens. Giving a smooth and consistent user behavior 03 Asserting Expected Behavior Assertions to verify that the widgets respond as intended. 04

Slide 5

Slide 5 text

Our Major Focus Dynamically manipulate the widget tree which allows you to simulate changes in the UI hierarchy and test how the app responds to those changes. Widget Tree Manipulation Asynchronous Testing This is widgets that my involve asynchronous operations like network requests or animations. 05 06

Slide 6

Slide 6 text

Our Major Focus Widget Finder Allows you locate a widget within the widget tree based on various criteria like key, test or property. 07

Slide 7

Slide 7 text

Sample Code

Slide 8

Slide 8 text

—ME “Consistency is hard but you gotta keep hyping yourself up. Nobody will do that for you”

Slide 9

Slide 9 text

Thank you for sticking through

Slide 10

Slide 10 text

QUESTIONS?

Slide 11

Slide 11 text

CREDITS: This presentation template was created by Slidesgo, including icons by Flaticon, and infographics & images by Freepik @kendyjaky @kendiJ THANKS