avajs/ava

Report all assertion failures

Open

#261 opened on 2015年11月23日

GitHub で見る
 (18 comments) (1 reaction) (0 assignees)JavaScript (1,408 forks)batch import
enhancementhelp wantedscope:assertionsscope:reporters

Repository metrics

Stars
 (20,600 stars)
PR merge metrics
 (30d に merged 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).

コントリビューターガイド