Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 632 Bytes

27.-cypress-reports.md

File metadata and controls

37 lines (29 loc) · 632 Bytes

🎑 24. Cypress Reports

Bunun için Mochawesome Report plugini kullanabilirsiniz**.**

// gerekli paketlerimizi yükleyelim
npm install mochawesome --save-dev
npm install mocha --save-dev 
npm install mochawesome-merge --save-dev

npm run combine-reports

Implementation in cypress.config.js

{
  "reporter": "mochawesome",
  "reporterOptions": {
  "reportDir": "cypress/results",
  "overwrite": false,
  "html": false,
  "json": true
  }
}
npx cypress run 

Teamcity report için

npm install cypress-teamcity-reporter --save-dev
npx cypress run --reporter teamcity