Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 851 Bytes

Reporters.md

File metadata and controls

25 lines (17 loc) · 851 Bytes

Test Reporters

Cypress has builtin support for JUnit reporting.

Note: from their documentation

Each spec file is processed completely separately during each cypress run execution. Thus each spec run overwrites the previous report file. To preserve unique reports for each specfile, use the [hash] in the mochaFile filename.

{
  "reporter": "junit",
  "reporterOptions": {
    "mochaFile": "results/my-test-output-[hash].xml"
  }
}

Other reporters

  • Xunit Viewer that can take the generated XML files and produce a HTML report page.

Useful references