Unit Testing your Firestore Security Rules with TDD
In this video, we walk through how to unit test your Firestore security rules (with or without TDD) locally with the Firebase Local Emulation Suite before pushing them live to production.
The example used in the video is an Ionic/Angular/Jest project, but the same general approach can be used with a variety of stacks.
Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076
Full guide: https://eliteionic.com/tutorials/using-tdd-to-test-deploy-firestore-security-rules/
0:00 Introduction
1:05 Overview
1:49 How to test security rules
5:04 TDD Example
9:41 Conclusion
#firestore #testing #jest
- More tutorials: https://eliteionic.com
- Follow me on Twitter: https://twitter.com/joshuamorony
Stock video clips from Pixabay:
Christopher O'Toole: https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=21531
prakash chavda: https://pixabay.com/?utm_source=link-attribution&utm_medium=referral&utm_campaign=image&utm_content=81241