firebase / firebase/firebaseopensource.com

firebase-jest-testing

オープン
#220 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
127
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

説明

**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:
- https://github.com/invertase/react-native-firebase/blob/master/.opensource/project.json
- https://github.com/sgarciac/fuego/blob/master/.opensource/project.json
- https://github.com/firebase/emberfire/blob/master/.opensource/project.json

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

リンクされている .opensource/project.json の例と firebaseopensource.com のプロジェクト提出フローを確認することから始めます。このプロジェクトに必要なメタデータと、リストを更新すべきかどうかを判断します。プロジェクトの情報と必要なオープンソースメタデータが一貫して表現されていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
content, documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。