You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.
That's really the most important thing to be testing. Type checking is cool, but it doesn't really mean much if some anonymous dude is able to jam stuff into my database.
The text was updated successfully, but these errors were encountered:
somewhat trickier to test statically, as often the rules depend on what
data is current in the Firebase. It's definitely something I wish to add
though, but probably not the kind of thing that will be done short term.
That's really the most important thing to be testing. Type checking is
cool, but it doesn't really mean much if some anonymous dude is able to jam
stuff into my database.
—
Reply to this email directly or view it on GitHub #6.
What do you mean by mocks? Like specifying the contents of the Firebase and then testing whether or not something can be inserted/read (or not)? Yeah that would be interesting. I will leave this issue open and maybe we will come back to this.
After thinking about it more, I'm not 100% sure it really fits into the scope of this project. Just judging by the name, I wonder if it should just be doing compilation and not testing. That's your call to make, of course :]
Mocks would be sweet and are sorely needed. I bet if you asked 100 Firebase users to write a test for a non-trivial security schema, 95 of them would get some part of it wrong.
That's really the most important thing to be testing. Type checking is cool, but it doesn't really mean much if some anonymous dude is able to jam stuff into my database.
The text was updated successfully, but these errors were encountered: