The `testcafe-reporter-nunit` package provides a plugin for TestCafe, an end-to-end testing framework, to generate test results in the NUnit Test Result XML format. This specific reporter (version 0.1.2) outputs an XML file that can be consumed by various CI/CD systems, such as Azure DevOps, which rely on the NUnit XML schema for displaying and analyzing test outcomes. This package is an early and relatively minimal implementation. Its release cadence is effectively abandoned, with its GitHub repository showing no significant updates for a considerable period. While it fulfills the basic requirement of producing NUnit-compatible XML, it lacks advanced features such as detailed screenshot attachments, rich metadata, or explicit NUnit 3 support, which are typically found in more modern alternatives like `testcafe-reporter-nunit3`.
npm install testcafe-reporter-nunitVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to install the reporter, create a basic TestCafe test, and then run TestCafe via the command line to generate an NUnit XML report.
Consider using `testcafe-reporter-nunit3` (npm install testcafe-reporter-nunit3) as a modern, actively maintained alternative, especially if you require NUnit 3 compatibility or advanced features like screenshot attachments and quarantine mode support.
Refer to the `imports` section for correct usage patterns via CLI, API, or configuration file.
Ensure that only one reporter (e.g., `spec` or `list`) is configured to output to `stdout`. All other reporters, including `nunit`, should specify an output file path (e.g., `--reporter nunit:report.xml`).
Ensure the package is installed as a `devDependency` (`npm install --save-dev testcafe-reporter-nunit`) and that `node_modules` is accessible to your TestCafe command.
Modify your TestCafe command or configuration to specify an output file for the NUnit reporter (e.g., `--reporter spec,nunit:report.xml`) and ensure only one reporter writes to stdout.
No dependency data recorded yet.