googleapis / googleapis/ruby-spanner
Provide a setup for a faster feedback loop for acceptance tests locally
- 主要言語
- Ruby
- スター
- 6
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Issue:**
The [setup process](https://github.com/googleapis/ruby-spanner/blob/main/google-cloud-spanner/acceptance/spanner_helper.rb) for spanner acceptance tests creates a new database and instance every time it is run. While this makes sense for the CI process, it is very slow during local development.
Database & instance creation is a slow process, so running even a single acceptance test takes 1-2 minutes locally.
**Recommended Solution:**
The setup process should accept an already existing database & instance, and run tests on them. After the run, it should avoid deleting the database & instance so the developer can reuse them again.
コントリビューションガイド
調査の方向性
google-cloud-spanner/acceptance/spanner_helper.rb から始めて、受け入れテストがインスタンスとデータベースをどのように作成し、クリーンアップするかを追跡します。ローカル実行で既存のリソースを受け取れる方法を特定し、繰り返し行うローカル実行でそれらを削除せずに再利用できることを確認します。その一方で、CI の動作が引き続き適切であることも確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ruby
- 領域
- database, testing
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100