avajs/ava

Report all assertion failures

Open

#261 aperta il 23 nov 2015

Vedi su GitHub
 (18 commenti) (1 reazione) (0 assegnatari)JavaScript (1408 fork)batch import
enhancementhelp wantedscope:assertionsscope:reporters

Metriche repository

Star
 (20.600 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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).

Guida contributor