LinuxSuRen / LinuxSuRen/api-testing

[Bug] ListTestCase interface exec failed.

オープン
#459 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug legend
主要言語
Go
スター
369
フォーク
67
PR マージ指標
30日以内にマージされた PR はありません

説明

*Description*:
The ListTestCase interface throws a 500 exception when a test resource yaml file other than the one created exists in the atest directory.

![f6fa0ffe2f1074d7e1565957df2b25d](https://github.com/LinuxSuRen/api-testing/assets/77964041/22b1f5e9-9004-426f-81f1-6a19a76e7a3a)

*Repro steps*:

1. git pull repo
2. go build -o atest main.go
3. ./atest server
4. access front page and new create test resource.
5. then click node.

>**Note**: If there are privacy concerns, sanitize the data prior to

caused by the presence of yaml files other than the test resource file in the atest executable directory.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、main.go と atest 実行ファイルのディレクトリに追加の YAML ファイルを置く方法で説明されているとおりに、サーバーをビルドして実行します。テストリソースを作成してそのノードを選択し、障害を再現してから、ListTestCase インターフェースのレスポンスを追跡します。無関係な YAML ファイルが存在する場合に、インターフェースが 500 を返さなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
go
領域
api, testing
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。