avajs/ava

Report all assertion failures

Aberta

#261 aberto em 23 de nov. de 2015

 (18 comentários) (1 reação) (0 responsável)JavaScript (1.408 forks)batch import
enhancementhelp wantedscope:assertionsscope:reporters

Métricas do repositório

Stars
 (20.600 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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

Guia do colaborador