Java: AzureCognitiveSearchMemoryStoreTests does not adequately mock Azure Cognitive Search Service REST API
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
AzureCognitiveSearchMemoryStoreTests から始め、カスタム HttpPipeline が SearchIndexAsyncClient へのリクエストをどのように処理するかを調べます。呼び出される REST メソッドとエンドポイントを追跡し、個々のテストで api-version=2023-07-01-Preview に一致し、正常にデシリアライズできるエンドポイント固有のレスポンスを提供できるように、テスト処理を更新します。
索引モデルが issue の本文から書いたものです。
説明
AzureCognitiveSearchMemoryStoreTests works by creating its own HttpPipeline for the SearchIndexAsyncClient. The individual tests can supply their own HttpResponse body, but this is not enough since there may be other REST APIs called from SearchIndexAsyncClient that the unit test does not handle. Additionally, the response bodies do not conform to the current API (api-version=2023-07-01-Preview) so the SearchIndexAsyncClient cannot deserialize the responses.
So, what I think needs to be done is to have broader handling of the requests, allowing the individual test to provide specific responses (as required) for the HTTP method and REST endpoint being invoked.
Was:
AzureCognitiveSearchMemory needs better unit test coverage, including negative tests, i.e., response is something other than HTTP 200.
- 主要言語
- Java
- スター
- 276
- フォーク
- 56
- 平均マージ
- 17時間 45分
- マージ済み PR(30日)
- 4
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/semantic-kernel-java のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/semantic-kernel-java#334 · コメント 1 件 ·
-
Feature Parity Inquiry: Multi-Agent Orchestration and Roadmap Alignment with Python/.NET Versions オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
microsoft/semantic-kernel-java#331 · コメント 7 件 ·
-
bug triage
microsoft/semantic-kernel-java#330 · コメント 3 件 · 担当者 1 名 ·
-
bug triage
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/semantic-kernel-java#328 · コメント 1 件 ·
-
microsoft/semantic-kernel-java#323 · リアクション 1 件 · 担当者 2 名 ·
microsoft/semantic-kernel-java の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 オープンbug frontend maui-pilot
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
objectionary/eo-graphs#74 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100