Feature: exit nodeunit on first failed test
- 主要语言
- JavaScript
- 星标
- 1.9k
- 派生
- 359
- PR 合并指标
- 30 天内没有已合并 PR
描述
For me this is a huge issue: I have, not that unexpectedly, thousands of assertions going on in my tests, and so if I change something, this might trigger dozens or even hundreds of them to fail. This is becoming very annoying to handle with nodeunit, because I have to scroll back up through all that "junk" to find out what was the first test that failed and is most likely the root cause. If nodeunit would just have an option to quit right away on the first failed test, testing would be far faster and it would be more easy to use ":! nodeunit test" in vim :).
贡献指南
这个仓库没有索引到贡献指南
调研方向
该 issue 没有指定文件、测试或入口点。首先定位 nodeunit 的命令行选项处理和 test-runner 流程,然后确定第一次失败的断言可以在哪里停止执行。完成的标准是:一个显式选项使 nodeunit 在第一个失败的测试时退出,包括从 CLI 调用时也是如此。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, node.js
- 领域
- cli, testing
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100