@jetbrains/hermione-teamcity-reporter

1.2.2 • Public • Published

hermione-teamcity-reporter Build Status

Hermione reporter for TeamCity CI. Read more about Hermione plugins in the documentation.

Install

$ npm install hermione-teamcity-reporter

Usage

Add plugin to your configuration file:

module.exports = {
    plugins: {
        'teamcity-reporter': true
    }
};

Options

enabled

Boolean, condition for enabling the plugin. For example, you can switch on or switch off the plugin depending on the environment:

module.exports = {
    plugins: {
        'teamcity-reporter': {
            // plugin will be enabled only when hermione is run in TeamCity CI
            enabled: Boolean(process.env.TEAMCITY_VERSION)
        }
    }
};

reportScreenshots

'always' | 'onlyFailures' | false, whether to report screenshots as test metadata. 'onlyFailures' by default.

module.exports = {
    plugins: {
        'teamcity-reporter': {
            reportScreenshots: false
        }
    }
};

imagesDir

String, directory to save images to. hermione-images by default.

module.exports = {
    plugins: {
        'teamcity-reporter': {
            imagesDir: 'path/to/my/dir'
        }
    }
};

Readme

Keywords

none

Package Sidebar

Install

npm i @jetbrains/hermione-teamcity-reporter

Weekly Downloads

1,671

Version

1.2.2

License

ISC

Unpacked Size

8.13 kB

Total Files

6

Last publish

Collaborators

  • skoch13
  • jetbrains-admin
  • kotlin
  • jetbrains-buildserver
  • allvo
  • bashor