Provide ability to add custom arguments in command
还没有人认领这个 Issue。
评估
调研方向
未指定源文件或测试。首先定位用于运行 Lab unit tests 的命令处理入口,并跟踪参数是如何被验证或传递的。当类似 lab -S -l -m 20000 -M 20000 --generate-pdf 的命令能够接受自定义参数且不会阻止测试运行时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Runtime
node.js
Runtime version
v22.11.0
Module version
25.1.3
Used with
Unit test for api
Any other relevant information
It would be amazing if we could add our custom flag or argument to the command for running test.
I have a case where I would like to optionally generate file along my unit test.
What problem are you trying to solve?
Currently it prevents me to add custom flags
lab -S -l -m 20000 -M 20000 --generate-pdf
this will not let me run the command.
Do you have a new or modified API suggestion to solve the problem?
No response
- 主要语言
- Vue
- 星标
- 55
- 派生
- 72
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
hapijs/hapi.dev 的其他 Issue
-
bug help wanted
难度 3/5 1-2 天 新手友好度 45/100
-
bug help wanted
难度 3/5 1-2 天 新手友好度 35/100
-
feature
难度 1/5 1 小时以内 新手友好度 50/100
-
documentation help wanted
难度 3/5 1-2 天 新手友好度 35/100
-
bug
难度 3/5 1-2 天 新手友好度 25/100
相似的 Issue
-
type/automation type/performance
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
S-Needs repro
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
area/ci bug difficulty/easy
难度 2/5 1-3 小时 新手友好度 76/100
ArtVsMark/Stepik-Python-Grader#1600 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 77/100
yunaremaia/agent-undo#66 ·