Reporter files should be named according template or name inside file
未关闭
- 主要语言
- JavaScript
- 星标
- 1.9k
- 派生
- 359
- PR 合并指标
- 30 天内没有已合并 PR
描述
We have a test directory including many folders that follow the same naming pattern. So each folder contains an indexTest.js.
When running nodeunit on the complete directory with the junit reporter the report always gets the name of the file as .xml file. This results in an overwrite of the file each time, thus missing results of all the other tests with the same name.
It would be nice if we can specify a template for the outputted file or that we can specify the name in the test file itsef, e.g. by using module.name.
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先跟踪 nodeunit JUnit reporter,以及它在处理完整测试目录时如何推导输出文件名。将请求的基于模板的命名与测试文件内部提供的命名进行比较;当同名文件生成的报告不再相互覆盖,并且选定的命名行为已得到覆盖时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- testing
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100