LinuxSuRen / LinuxSuRen/api-testing
[Bug] ListTestCase interface exec failed.
还没有人认领这个 Issue。
- 主要语言
- 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.

*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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,按照说明使用 main.go 和 atest 可执行文件目录中的额外 YAML 文件构建并运行服务器。创建一个测试资源并选择其节点来重现故障,然后跟踪 ListTestCase 接口的响应。当存在无关的 YAML 文件时接口不再返回 500,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- api, testing
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100