ai / ai/better-node-test

Better reporter

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
27
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.