2.0.0 • Published 2 years ago
tape-comment-formatter v2.0.0
Purpose:
To format the comment block in the tape test harness' unit test
- Lets the unit test be described in greater detail
- Frees up the description message to allow a unique identifier. So when a test fails it is clear which one
Nitty gritty:
- Add tabs to each comment line such that they are not aligned directly under the test description
- Removes an extra line that is inserted between each new comment line
- Colors the When and Then block (differently by default & is configurable)
Usage:
Formatting the remainder of TAP-13 output is being done by tap-diff here.