Pro Yearly is on sale from $80 to $50! »

Don’t Forget to Test Your Flutter Code by Boris-Wilfried Nyasse

Don’t Forget to Test Your Flutter Code by Boris-Wilfried Nyasse

Testing is one of the most important phases of app development. You can’t build a high-quality app without testing it. The testing process requires precise planning and execution, but it’s also the most time-consuming part of development.

The Flutter framework provides comprehensive support for Flutter automated testing. Although Flutter is gaining traction, it can easily obscure the beauty of the Dart platform and the way developers can easily test their code.

In this session, we will look at how to build and automate your Flutter app testing.

Bio

Currently working as VP of Engineering for Stack Labs Canada (a consulting company
specialized in architecture and development of cloud solution),

I am a passionate Developer & Cloud/DevOps Architect, and above all passionate about tech, languages, infrastructure, and automation. I enjoy my journey to work with customer Technical leads, client executives and partners to manage and deliver successful migrations to Google Cloud solutions.

I enjoy my journey to ensure that the engineering trains run on time by creating an ideal environment for passionate people. My goal is just to inspire others to continuously improve and raise their standards at all levels of the team : follow best practices of software development. From the code analysis, testing and CI/CD knowledge.

Former founder and co-organizer of the Flutter Toulouse Meetup, it is fun to share my passion for Dart & Flutter. I’ve provided some talks to GDG and DevFest event ( Toulouse, Montpellier, London ).

https://gdgmontreal.com/2020/05/16/may-meetup-online/

1b77dd441f657f5aefb3e21283b252e6?s=128

GDG Montreal

May 27, 2020
Tweet

Transcript

  1. TESTING FLUTTER APPLICATIONS TESTING FLUTTER APPLICATIONS GDG MONTREAL - MAY

    27TH GDG MONTREAL - MAY 27TH 
  2. WHO AM I ? WHO AM I ? Boris-Wilfried NYASSE

    @bwnyasse ✓ I am a Stacker @stack_labs ✓ VP of Engineering at Stack-Labs ✓ Google Cloud Architect ✓ Dart & Flutter Enthusiast 
  3. STACK LABS CANADA INC. STACK LABS CANADA INC. workwith@stack-labs.com 

  4. VERSIONS VERSIONS Dart SDK v2.8.2 Flutter v1.17.1 

  5. DART 2.8 : MANAGING DEPENDENCIES DART 2.8 : MANAGING DEPENDENCIES

    pub outdated 
  6. DEVELOPMENT WITH DART LANG DEVELOPMENT WITH DART LANG 

  7. CROSS PLATFORM DEV CROSS PLATFORM DEV 

  8. TESTING TESTING 

  9. UNIT TESTING UNIT TESTING 

  10. UNIT TESTING WITH MOCKS USING MOCKITO UNIT TESTING WITH MOCKS

    USING MOCKITO 
  11. WIDGET TESTING WIDGET TESTING 

  12. INTEGRATION TESTING - INTEGRATION TESTING - 1/3 1/3 Instrument the

    app to be tested Tests based on SerializableFinders API Run the tests on emulators or real device flutter drive --target=test_driver/app.dart 
  13. INTEGRATION TESTING - INTEGRATION TESTING - 2/3 2/3 

  14. INTEGRATION TESTING - INTEGRATION TESTING - 3/3 3/3 

  15. TESTING WITH FLUTTER DEVTOOLS TESTING WITH FLUTTER DEVTOOLS 

  16. DEMO : Writing some tests Following is the technical architecture

    of the application for the demo using Flutter Bloc pattern 
  17. WHAT ABOUT CONTINUOUS INTEGRATION ? WHAT ABOUT CONTINUOUS INTEGRATION ?

  18. CI/CD WITH FLUTTER ! CI/CD WITH FLUTTER ! 

  19. EVERYTHING DOCKER ! EVERYTHING DOCKER ! 

  20. USING GITHUB ACTIONS ! USING GITHUB ACTIONS ! 

  21. USING GOOGLE CLOUD ! USING GOOGLE CLOUD ! 

  22. NO EFFORT WITH NO EFFORT WITH CODEMAGIC CODEMAGIC ✓ Git-based

    : AWS CodeCommit, GitLab … ✓ Build / Sign / Publish iOS apps without a Mac ✓ Test your apps on real devices with AWS Farm 
  23. HANDS ON CODE HANDS ON CODE Feel free to fork

    or clone the following project to learn more about testing flutter bwnyasse/flutter-testing-tutorial on my step by step codelab is available github here 
  24.   