firebase / firebase/firebase-admin-python

[FR] Python Security Rules Unit Testing

Open
#914 1 comment 0 reactions 0 assignees View on GitHub
needs-triage type: feature request
Dominant language
Python
Stars
1.2k
Forks
359
Avg merge
5d 6m
Merged PRs (30d)
2

Description

**Is your feature request related to a problem? Please describe.**
I am using a Python Firebase Functions Backend for My Application but I would like to Unit Test My Firestore Security Rules. There doesn't seem to be a supported library for this in Python.

**Describe the solution you'd like**
Provide a similar library like is provided for NodeJS: https://www.npmjs.com/package/@firebase/rules-unit-testing/v/3.0.2-canary.6d31930b3

**Describe alternatives you've considered**
It may be possible to setup the testing manually without the supported helper methods. I may have to separate my security rules unit testing to another repo and use NodeJS.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.