/testcafe-reporter-nunit3

Azure DevOps compatible reporter for TestCafe.

Primary LanguageJavaScriptMIT LicenseMIT

testcafe-reporter-nunit3

Build Status

This is the nunit3 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:

  • 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.

Video paths and 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.

This project was scaffolded using the Yeoman generator.