FirebaseExtended / bolt

Bolt Compiler (Firebase Security and Modeling)
Apache License 2.0
897 stars 107 forks source link

Testing against firebase-server #198

Open azaslavsky opened 7 years ago

azaslavsky commented 7 years ago

I've been testing the rules using the steps specified here, but I was wondering if there was an easy way to point the database at a local firebase-server instance, so that I don't have to delete a remote Firebase instance every time?

rockwotj commented 7 years ago

There isn't an officially supported method of testing locally, but we're working on documenting our simulation API that the console uses to allow you to write tests without actually saving data to the database.

If you'd like to try it out, see this post: https://groups.google.com/forum/#!msg/firebase-talk/UQ08Uf1TekA/mIvEAlzqAAAJ;context-place=forum/firebase-talk