1.2.2 • Published 1 year ago

@jetbrains/testplane-teamcity-reporter v1.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

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'
        }
    }
};
1.2.2

1 year ago