Symfony Integration issue with TestConnectionFactory
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
tests/Repository/PostRepositoryTestWithTestConnectionFactory.php と tests/TestConnectionFactory.php から始め、次に config/packages/test/services.yml を調べて、テスト環境用に factory がどのように登録されているかを追跡します。失敗するテストを再現し、デフォルトの 127.0.0.1:5432 接続を試みるのではなく、設定された factory が適用されていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
I have updated packages to testcontainrs/testcontainers.
I followed the guide in the readme, created a TestConnectionFactory, and declared in the config/packages/test/services.yml.
But when running the tests, it can not find the host 127.0.0.1 and port 5432.
Check the test file: https://github.com/hantsy/symfony-rest-sample/blob/69e8c0d5f91ee999eb2b949bde6a6bf4a21876de/tests/Repository/PostRepositoryTestWithTestConnectionFactory.php
And services.yml file: https://github.com/hantsy/symfony-rest-sample/blob/69e8c0d5f91ee999eb2b949bde6a6bf4a21876de/config/packages/test/services.yml
And the TestConnnectionFactory file :https://github.com/hantsy/symfony-rest-sample/blob/69e8c0d5f91ee999eb2b949bde6a6bf4a21876de/tests/TestConnectionFactory.php
It seems the TestConnectonFactory is not applied at all.
- 主要言語
- PHP
- スター
- 214
- フォーク
- 34
- 平均マージ
- 1時間 19分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
testcontainers/testcontainers-php のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
testcontainers/testcontainers-php#57 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
testcontainers/testcontainers-php の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
smarty-php/smarty#1215 ·
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
ProfessionalWiki/NeoWiki#1637 ·
メンテナーはふだん 1 日以内に返信