Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to test your Flutter app

How to test your Flutter app

Slides for my talk about setting up testing and CI on flutter apps given at MobilizationIX in Lodz Poland and Devfest Istanbul

Original slides can be found here: https://docs.google.com/presentation/d/1VDObgMLSma70lLnfs3rGjpoQNKn2jPTZtjetfkhbaTA/edit?usp=sharing

Avatar for Dylan Drost

Dylan Drost

October 25, 2019

More Decks by Dylan Drost

Other Decks in Programming

Transcript

  1. @aegis321 A little bit about me Freelance Android developer Keep

    everything working for a food blog run by my wife Betty with over 1,3k post and around 140 to 150k monthly visitors
  2. @aegis321 So how can we run these tests. • Android

    Studio • Intellij • Visual Studio Code • CLI ◦ flutter test test/filename_test.dart ◦ flutter test test/package_name/
  3. @aegis321 So how can we run these tests. • Android

    Studio • Intellij • Visual Studio Code • CLI ◦ flutter test test/filename_test.dart ◦ flutter test test/package_name/
  4. @aegis321 Additional resources • https://flutter.dev/docs • https://www.reddit.com/r/FlutterDev/ • http://fluttersamples.com/ •

    Flutter channel on youtube • https://codemagic.io/ • Medium: Testing CustomPaint Widgets in Flutter using Golden Image Files • Medium: Do you see the difference? — Flutter Snapshot test • Medium: Flutter: Golden tests — compare Widgets with Snapshots