Détail du package

playwright-teamcity-reporter

artemrudenko212.4kMIT1.0.5

Playwright Teamcity Reporter

playwright, teamcity, reporter

readme

Playwright Teamcity Reporter

Build and test

This package will report your @playwright/test results to your Teamcity CI server, so you can see the number of executed tests, test failures and the tests tab right from your Teamcity UI.

Installation

Install the package from NPM:

npm install --save-dev playwright-teamcity-reporter

Usage

Add to default reporter:

npx playwright test  --reporter=line,playwright-teamcity-reporter

Use only playwright-teamcity-reporter:

npx playwright test  --reporter=playwright-teamcity-reporter

You can also configure using playwright.config.js. To achieve that, add 'playwright-teamcity-reporter' to the reporter section of your configuration:

const config = {
  ...
  reporter: [
    ['playwright-teamcity-reporter', {'testMetadataArtifacts': 'test-results', logConfig: false}],
  ],
  ...
};