Firebase Storage: Unit testing rules with test report #4969
IchordeDionysos
started this conversation in
General
Replies: 0 comments 2 replies
-
@IchordeDionysos thanks for starting this discussion! Just curious why this is filed on Happy to transfer it if you agree. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it's very nice that we now have a Firebase Storage emulator 😍
What I would like to have added there would be the possibility to test the rules similar to how the Firestore emulator rules can be tested!
@samtstern already started work on it, but it's not yet fully ready and still fails with a few errors.
firebase/firebase-tools#3332
firebase/firebase-tools#3337
#4863
There is a related issue with using
@firebase/rules-unit-testing
with the storage emulator:firebase/firebase-tools#3442
What I would like to concretely see is:
I would like to add support for generating Firebase Storage coverage reports to a package (
@simpleclub/firebase-rules-coverage
) a package I've developed that transforms the test report into an LCOV coverage file that can be uploaded to a generic test coverage tool.Beta Was this translation helpful? Give feedback.
All reactions