avajs/ava

Report all assertion failures

开放

#261 创建于 2015年11月23日

 (18 条评论) (1 个反应) (0 位负责人)JavaScript (1,408 个派生)batch import
enhancementhelp wantedscope:assertionsscope:reporters

仓库指标

星标
 (20,600 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

With #259, we have moved from only printing the last assertion failure, to only printing the first.

Once #243 (chainable methods) happens, I think we should allow printing of every failed assertion to give the most information possible.

test.verbose('title', t => {
  t.fail('a');
  t.fail('b');
});

Perhaps only mode should also just imply verbose mode (you should have way less noise with a single test).

贡献者指南