5
0 Comments

Started contributing to a library rather than developing my own app

While working on my own Flutter app, I started contributing to cloud_firestore_mocks, a library that helps widget tests for Google Cloud Firestore. Normal Firestore library requires a simulator (or a real devices), therefore Flutter widget tests cannot tests classes that uses Firestore library. Cloud_firestore_mocks acts as a fake of Cloud Firestore wihtout a simulator runtime. By introducing dependency injections into your app, the widgets tests using the fake ensure your logic around Cloud Firestore are working as expected.

on March 29, 2020