ardalis / ardalis/HttpClientTestExtensions
EnsureNoAutoRedirect has NullReferenceException when ITestOutputHelper is null
未关闭
- 主要语言
- C#
- 星标
- 107
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
描述
On the EnsureNoAutoRedirect extension method, when the optional ITestOutputHelper parameter is ommitted or null it has a NullReferenceException on line 24
贡献指南
这个仓库没有索引到贡献指南
调研方向
从扩展方法 EnsureNoAutoRedirect 开始,检查省略 ITestOutputHelper 或将其设为 null 时的第 24 行。在不提供可选参数的情况下重现失败的调用,然后验证它能够在不发生 NullReferenceException 的情况下完成,并且在提供 helper 时仍能处理输出。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- api, testing
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100