testcafe-reporter-nunit3

3.1.0 • Public • Published

testcafe-reporter-nunit3

Release

This is the NUnit 3 reporter plugin for TestCafe. It currently implements the subset of attributes that Azure DevOps cares about and has not been tested for other scenarios.

Details of the NUnit format can be found at https://github.com/nunit/docs/wiki/Test-Result-XML-Format.

Features:

  • Video and screenshot paths included as test case attachments.
  • Quarantine mode support: passing tests that failed at least once are marked as Inconclusive instead of Passed. The result of each run is specified as text appended to the error message.
  • Fails the test run (via a new failed test case) if the TestCafe process exits without all tests finishing. The provided xunit reporter emits a blank file in these scenarios.
  • Emits fixture and test metadata as <property> elements.

Error details for every failed quarantine run are not currently supported by the TestCafe Reporter API.

Install

npm install testcafe-reporter-nunit3

Usage

An example .testcaferc.json entry that creates nunit3 reports along with standard console logging:

"reporter": [
    "spec",
    {
      "name": "nunit3",
      "output": "results/handy-dandy-report.xml"
    }
  ]

See the official reporter documentation for more information.

Package Sidebar

Install

npm i testcafe-reporter-nunit3

Weekly Downloads

5,299

Version

3.1.0

License

MIT-0

Unpacked Size

16.3 kB

Total Files

6

Last publish

Collaborators

  • nicklargen