Manuel Siebeneicher
Manuel Siebeneicher

Reputation: 115

How to (locally) unit test storing images with Firebase Cloud Storage

I'm using Firebase Emulator Suite to unit test my database content. Now I want to add a "make a picture" feature to my app. In the productive version the images should be stored in Firebase Cloud Storage.

Is there a way to emulate uploading and downloading data to mocking the Firebase Cloud Storage access in order to integrate this into my unit tests?

The Firebase Emulator Suite itself doesn't provide this feature.

I guess it's not a good idea to use the real productive Firebase Cloud Storage.

Upvotes: 0

Views: 739

Answers (1)

Frank van Puffelen
Frank van Puffelen

Reputation: 599041

firebaser here

An emulator for Cloud Storage is part of the Firebase Emulator Suite now. See the documentation on using it here

Upvotes: 1

Related Questions