Reme Le Hane
Reme Le Hane

Reme Le Hane

Series

Flutter Testing

Here we will cover various aspects of unit, widget and integration testing in Flutter

Articles in this series

Unit testing DateTime.now() with the help of Dart extensions

Jul 16, 20213 min read 43 views

The Problem… Often times within our applications, both on the UI and Data sides we will need to set “defaults” for dates, the simplest way to do that in most cases would be to use DateTime.now(), after all, we are most likely going to use the current...

Unit testing DateTime.now() with the help of Dart extensions
Unit Testing a Utility function that returns a Widget
Dependency Injection and Testing
Unit Testing your http.MultipartRequest network method
Widget testing when your app needs access to directories.
Bringing localization into your Widget testing