Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firebase-jest-testing #220

Open
akauppi opened this issue Aug 14, 2021 · 0 comments
Open

firebase-jest-testing #220

akauppi opened this issue Aug 14, 2021 · 0 comments

Comments

@akauppi
Copy link

akauppi commented Aug 14, 2021

Link to project (GitHub): http://github.com/akauppi/firebase-jest-testing

Describe the project in 2-3 sentences:

Tools for testing Firebase back-end features, using Jest 27.

This repo provides a "one stop", opinionated, end-to-end approach to testing Firebase projects. Using it may save you from reading countless pages of documentation and evaluating different testing strategies and libraries.

Why would Firebase developers be interested in this project?:

If you test Firestore Security Rules, the repo provides an immutable abstraction over your test data. An approved write or delete does not change the underlying data - just tells that the operation would succeed. This helps make tests easier, since they never mess with each other.

For testing the effects of Cloud Functions, the repo provides you means to wait for changes to happen in Firestore data.

The intention is to cover all Firebase back-end test use cases. If yours is lacking, let's code it in!

Have you added a .opensource/project.json file to your site: No

What is it??? Why would I want to add such? The project is MIT licensed.

Examples:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant