@teamteanpm2024/quam-magnam-animi
v1.0.5
Published
[![npm](https://img.shields.io/npm/v/@teamteanpm2024/quam-magnam-animi.svg?style=flat-square)](https://www.npmjs.com/package/@teamteanpm2024/quam-magnam-animi)
Downloads
16
Maintainers
Keywords
Readme
@teamteanpm2024/quam-magnam-animi
Another tape/tap output formatter for running tests
I built this package primarily to use with tape, and its tap output. The biggest issue with tap is that the way its output is structured can almost be anything.
If you need or want to use @teamteanpm2024/quam-magnam-animi and it comes out ugle, or just flat out doesn't work please open an issue! I will be glad to help!
Parameters
-s, --stack
: This param will hide the stack trace in the fail messages you will still see the at however-u, --summarize
: Enables failure summaries at the END of your test report, useful if you have a lot of tests!--no-color
: Disables colored output, and only keeps the icons, and spacing
Installation
npm i -D @teamteanpm2024/quam-magnam-animi
Usage
You can simply pass your tap output into @teamteanpm2024/quam-magnam-animi
through a pipe or other means
tape test/*.js | @teamteanpm2024/quam-magnam-animi
tape test/*.js | @teamteanpm2024/quam-magnam-animi -u -s
node test.js | ./node_modules/@teamteanpm2024/quam-magnam-animi/bin/@teamteanpm2024/quam-magnam-animi -u
@teamteanpm2024/quam-magnam-animi -u < src/test/non-tape.tap
Output
The output was built to look a bit like the tap-spec module but without some dependencies like Lodash.
The stats at the bottom work like so:
Total
: Total number of tests runPassed
: Total passing testsFailed
: Total failing testsSkipped
: Total SKIPPED tests (NOT skipped assertions)Duration
: Total time took to run
Here are some examples of the output: