Emulators

Test your functions with emulators.

You can build and test your functions locally. We provide integration with Firebase Local Emulator Suite which provides a rich user interface to help you get running and prototyping quickly.

Emulators can benefit your prototyping and test workflows as you can run your tests without risking production data.

What do you need to know about emulators?

  1. Initialize emulators: how to set up emulators in your workspace.

  2. Environment variables: how to set function execution environment.

  3. Starting emulators: how to start emulators.

  4. Testing functions: how to trigger HTTPS functions.

  5. Importing data: export data from production service to local emulator.

Last updated