All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- improved
- verbose "Plan: " statement bug fix
- replace
tap-parser
withtap-reader
for simpler i/o, shallower dependency graph, and smaller disk footprint - single-line diffs now output to 2 lines: "Actual" and "Expected" for easier reading
- diffing has been reimplemented to be simpler and optional
--no-diff
option to disable diffing
- improve tap error handling when "no plan found"
- improve runtime error handling and reporting
A large refactor with updated dependencies that targets very similar output of v0.3.0+. Drastically simplified testing.
- Ouput formatting and colors are more readable for red-green colorblind folks (like myself!)
- Suites with all passing tests but "bad counts" will now PASS. Override with
--fail-bad-count
. See the FAQ in README. ⚠️ tap-arc
will only exit(1) when test count is 0 if the results plan comment also contains "no tests found" -- unlikely to affect most test reporting pipelines.- CI for this library on Windows improved.
- dep vulnerabilies
- dependency vulnerabilities in
json5
- update other dependencies
- v1 (a rewrite) has been in progress for a while. shifts in the Node TAP ecosystem are settling.
- snapshot tests have been disabled. this approach, while super accurate, is unmaintainable.
- correctly describe failure then expected error message does not match actual thrown error. #29
- explicitly pin
strip-ansi
to v6.0.1
- when total test count is 0, exit with code
1
. #26
- correctly display multi-(c)hunk diffs
- verbose option no longer affects diff print
--verbose
prints full diff as reported bytcompare
- actual vs expected colors in equality assertions
- use
strict
instead ofmatch
fromtcompare
for more verbose diffs
- correctly handle when shallow equality TAP output cannot be diffed
- color corrections #18
tcompare
for improved failure diffing #2
--padding
option--indent
option
- deterministically stringify JSON for diffing, thanks @mixmix
--no-color
option to prevent colorized output with ANSI escape sequences
- migrate and rename from https://www.npmjs.com/package/tap-spek