@jetbrains/testplane-teamcity-reporter
v1.2.2
Published
Plugin to report results for TeamCity CI
Downloads
3,348
Keywords
Readme
hermione-teamcity-reporter
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'
}
}
};