quickstart-testing icon indicating copy to clipboard operation
quickstart-testing copied to clipboard

Samples demonstrating how to test your Firebase app

Firebase Testing Quickstarts

A collection of quickstart samples demonstrating testing patterns for Firebase services.

The repository is broken up by testing strategy:

  • Unit testing security rules - write unit tests for your Realtime Database and Cloud Firestore security rules using mocha and the @firebase/rules-unit-testing library.
  • Unit testing Cloud Functions - write unit tests for your Cloud Functions using the firebase-functions-test SDK.
  • Connect your app to the Emulator Suite - connect the Firebase SDKs in your app directly to the local emulators and manually test your app.

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE

Build Status

Actions Status