Issues with Implementing Values Attribute and Customizing Name Format
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- testing
调研方向
首先查看 Values、TestCaseSource 和生成的测试名称的文档;该 issue 未指定文件或测试。确定所请求的参数名称格式是文档变更还是功能请求,并在继续之前定义预期的显示格式。
由索引模型根据 Issue 内容生成。
描述
This may be an issue with documentation(or a feature request, i'll lean on the side that i'm missing something), however I am currently running into an issue that i'm having difficulty finding a workaround.
Currently I am able to use the Values attribute correctly, however i am not able to use the Values attribute in conjuncture with a custom name assigned to the collection of test cases.
I've attempted TestCaseSource, however I am unable to implement this change using the Values attribute (with it's current restrictions).
Simple Business Description:
- I have a test with 3+ parameters (all using the value property, (all enums in this case))
- I have Label that is generated, however it does not accurately convey what that test is doing.
Desired Result:
- Have the parameters used displayed along with the name of the variable they're assigned to.
Ex:
The shared enum has 3 values, All, Some, and None.
Test will display as:
Test("Param1Name : All, Param2Name: Some, Param3Name: None")
Instead, I am getting:
Test(All,Some,None)
- 主要语言
- Dockerfile
- 星标
- 601
- 派生
- 159
- 平均合并
- 22 小时 18 分钟
- 30 天内合并 PR
- 6
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nunit/docs 的其他 Issue
-
area:adapter type:newpage
难度 2/5 1-3 小时 新手友好度 82/100
-
Document why output from ASP.NET Core handlers (WebApplicationFactory) is not captured, and the workarounds可能已有人在做 @SeanKilleen 于 36 天前认领。 未关闭area:framework type:update
难度 2/5 1-3 小时 新手友好度 83/100
-
type:newpage
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 3/5 1-2 天 新手友好度 15/100
-
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
elecnix/bellwether#467 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
storytold/craft-libs#4547 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
mike-north/AgentMonitors#715 ·
维护者通常 1 天内回复
-
milestone-3
难度 2/5 1-3 小时 新手友好度 78/100
Harsha0912/recall#71 ·
维护者通常 1 天内回复
-
bug:new
难度 2/5 1-3 小时 新手友好度 69/100
callstackincubator/simlock#1986 ·
维护者通常 1 天内回复