ai / ai/better-node-test

Better reporter

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
27
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Ideas to implement in reporter:

- [ ] Do not clean previous lines, only print new one. It will simplify `console.log` debugging.
- [ ] Add colors to `deepStrictEqual()` error’s diff
- [ ] For failed test print a command to call focused task: `npx bnt ./test/file.test.js -t 'test name'`
- [ ] Repeat failed tests in the end as `node --test` already does (we can add more details only here)
- [ ] Preview code frame of failed check (like Bun or ava does)
- [ ] Avoid `skipped 0` and other non-information lines in the summary
- [ ] Don’t print many digits after `.` in test duration

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.