The `test-progress-tracker` library provides a utility to monitor and manage the progress of individual tests and entire test suites over time. It aims to offer insights into test execution status, which can be particularly useful for long-running test suites or within continuous integration environments to observe trends, identify regressions, or track performance changes. The current stable version is `2.0.6`. Its release cadence has been infrequent since its `v2.0.0` major release in late 2018, with the latest update in early 2022 primarily addressing bug fixes and dependency updates, suggesting the project is in a maintenance phase. A key differentiator is its focus on explicit test progress reporting, allowing granular tracking beyond simple pass/fail outcomes. It includes TypeScript type definitions, enhancing developer experience and type safety.
npm install test-progress-trackerVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to initialize the tracker, start and end individual tests with different statuses, report progress within a test, and finalize the overall test run.
Review your build process and integration points when upgrading to v2.0.0 or later. Although the exact nature of the 'file changes' is not detailed, it implies potential changes in how the library's output is consumed or bundled.
Always use named imports as demonstrated: `import { createTracker, TestTracker } from 'test-progress-tracker';`.For optimal compatibility and features, use Node.js version 6 or newer. For modern development, using a current LTS Node.js version is always recommended.
Ensure you are using named imports: `import { createTracker } from 'test-progress-tracker';`Ensure that `tracker.endTest()` is called for a test before `tracker.startTest()` is called again with the same test name, or use unique names for concurrent tests.
Verify that `const tracker = createTracker(...)` has been successfully executed and the `tracker` variable is accessible where `startTest` is called.
No dependency data recorded yet.