The `mocha-fivemat-progress-reporter` package offers a specialized test reporter for the Mocha JavaScript test framework. It is designed to combine the minimalist, progress-oriented feedback of Mocha's built-in progress reporter with the condensed, informative output style of the `fivemat` reporter. This reporter visualizes test execution with a per-test-suite progress bar, providing immediate visual cues on test progress. Currently at version 0.1.0, the package was last published approximately 10 years ago (June 2016), indicating that it is no longer actively maintained. Its core differentiation lies in offering a hybrid reporting style that aims to provide both a quick overview of ongoing tests and a concise summary upon completion, making it distinct from verbose or solely progress-based reporters.
npm install mocha-fivemat-progress-reporterVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to install `mocha-fivemat-progress-reporter` and use it as a custom reporter for Mocha tests via the command line. It includes a `package.json` setup and a basic test file.
Consider using actively maintained Mocha reporters such as 'spec', 'nyan', 'list', or modern community-developed alternatives. If attempting to use this package, you may need to pin to older Node.js and Mocha versions (e.g., Mocha < 5.0.0).
Evaluate newer, actively maintained Mocha reporters. If custom reporting logic is needed, consider extending Mocha's base reporter class yourself or contributing to another open-source reporter.
Use CommonJS `require()` if you must import it programmatically. For typical usage, specify the reporter name via the Mocha CLI (`mocha -R mocha-fivemat-progress-reporter`).
Ensure `mocha-fivemat-progress-reporter` is listed in your `package.json`'s `devDependencies` and run `npm install` (or `yarn add --dev mocha-fivemat-progress-reporter`). Also, verify the reporter name in the `-R` flag is spelled correctly.
This package is likely incompatible with modern Mocha versions. Consider using a different, actively maintained reporter. If you absolutely need this specific reporter, you might have to downgrade your Mocha installation significantly (e.g., to a version released before 2016, like Mocha v2 or v3).