Skip to content

docs: clarify how to run tests for both packages#287

Open
demolaf wants to merge 2 commits into
mainfrom
docs/test-running-instructions
Open

docs: clarify how to run tests for both packages#287
demolaf wants to merge 2 commits into
mainfrom
docs/test-running-instructions

Conversation

@demolaf

@demolaf demolaf commented Jun 11, 2026

Copy link
Copy Markdown
Member

Closes #268

Adds a firebase.json to packages/google_cloud_firestore/ so the package is self-contained, and rewrites the Running Tests section in CONTRIBUTING.md with accurate instructions covering both packages and all test presets.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown

Coverage Report

✅ Coverage 75.19% meets 40% threshold

Total Coverage: 75.19%
Lines Covered: 5166/6871

Package Breakdown

Package Coverage
google_cloud_firestore 78.08%
firebase_admin_sdk 72.66%

Minimum threshold: 40%

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the test documentation in CONTRIBUTING.md to explain the new tag-based presets defined in dart_test.yaml and simplifies the Firestore emulator command in scripts/firestore-coverage.sh. Feedback highlights a bug in scripts/firestore-coverage.sh where setting GOOGLE_APPLICATION_CREDENTIALS causes emulator and production tests to be silently skipped due to empty tags. Additionally, the relative paths to the convenience scripts in CONTRIBUTING.md need to be corrected to ../../scripts/ since the instructions are executed from package subdirectories.

Comment thread scripts/firestore-coverage.sh Outdated
Comment thread CONTRIBUTING.md Outdated
Comment thread CONTRIBUTING.md Outdated
@demolaf demolaf marked this pull request as draft June 12, 2026 18:40
@demolaf demolaf marked this pull request as ready for review June 15, 2026 11:24
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

Successfully merging this pull request may close these issues.

make it more clear how to run firestore tests

1 participant