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

GCP Test用の機能たち #109

Open
sinmetal opened this issue Oct 7, 2019 · 2 comments
Open

GCP Test用の機能たち #109

sinmetal opened this issue Oct 7, 2019 · 2 comments
Assignees

Comments

@sinmetal
Copy link
Member

sinmetal commented Oct 7, 2019

WHAT

GCPのTest用の機能たちをまとめる

WHY

地味に色々あって、思い出すのが大変なので

@sinmetal
Copy link
Member Author

sinmetal commented Oct 7, 2019

Google Cloud Datastore

Emulator

https://cloud.google.com/datastore/docs/tools/datastore-emulator

Google Cloud SDKに含まれているDatastoreのEmulator
Javaで作られている

Google Cloud Firestore

Emulator

https://firebase.google.com/docs/rules/emulator-setup
https://cloud.google.com/sdk/gcloud/reference/beta/emulators/firestore/

Firebase側にはドキュメントがあるが、GCP側にはドキュメントが無い
Google Cloud SDKとしては cloud-firestore-emulator という名前のcomponentとなっている

Google Cloud Bigtable

https://cloud.google.com/bigtable/docs/emulator

Google Cloud SDKに含まれているBigtableのEmulator
https://github.com/googleapis/google-cloud-java/tree/master/google-cloud-testing/google-cloud-bigtable-emulator にラッパーライブラリがあったりする

Google Cloud PubSub

Emulator

https://cloud.google.com/pubsub/docs/emulator

Google Cloud SDKに含まれているPubSubのEmulator

Library

https://godoc.org/cloud.google.com/go/pubsub/pstest

GoのMock用のLibrary

Google Cloud Spanner

Library

spannertest

UnitTestのために開発中のGoのLibrary
まだ、未対応の機能が多い

handy-spanner

UnitTestのために開発中のGoのLibrary
Unofficialで、 @kazegusuri さんが作っている

@sinmetal sinmetal self-assigned this Oct 7, 2019
@sinmetal
Copy link
Member Author

sinmetal commented Apr 2, 2020

Google Cloud Spanner Emulator (β)
https://cloud.google.com/spanner/docs/emulator

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