{"_id":"@bsavignano/cypress-teamcity-reporter","name":"@bsavignano/cypress-teamcity-reporter","dist-tags":{"latest":"4.0.1"},"versions":{"4.0.1":{"name":"@bsavignano/cypress-teamcity-reporter","engines":{"node":">=14"},"version":"4.0.1","description":"teamcity reporter for cypress","main":"./lib/teamcity.js","directories":{"lib":"./lib"},"scripts":{"lint-fix":"eslint --fix lib/*.js test/**/*.js","lint":"eslint lib/*.js test/**/*.js","prepare":"npm run test","test-teamcity-example":"mocha test/example/exampleSimple.js --reporter lib/teamcity.js","test-teamcity":"mocha test/functional test/programmatic --reporter lib/teamcity.js","test":"mocha test/functional test/programmatic"},"repository":{"type":"git","url":"git+https://github.com/SaViGnAnO/cypress-teamcity-reporter.git"},"keywords":["cypress","mocha","teamcity","reporter","jetbrains"],"peerDependencies":{"mocha":">=4.0.0"},"author":{"name":"Brian Savignano"},"license":"MIT","bugs":{"url":"https://github.com/SaViGnAnO/cypress-teamcity-reporter/issues"},"devDependencies":{"babel-eslint":"^10.1.0","chai":"^4.3.7","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-plugin-babel":"^5.3.1","mocha":"^10.2.0"},"_id":"@bsavignano/cypress-teamcity-reporter@4.0.1","gitHead":"24c9c3d7b3c0874998d804122f293c8cd6a4f203","homepage":"https://github.com/SaViGnAnO/cypress-teamcity-reporter#readme","_nodeVersion":"22.11.0","_npmVersion":"10.9.1","dist":{"integrity":"sha512-CBD0uaRymigwpZBnpyUDLp6epSNVHne+YC7i8+uxhruysMIrCNohWfcsRsL+fMY2nbetS3nc5+EbFosjg1z4Xw==","shasum":"d850e4959d7294089d160b5bf662524d81457551","tarball":"https://registry.npmjs.org/@bsavignano/cypress-teamcity-reporter/-/cypress-teamcity-reporter-4.0.1.tgz","fileCount":9,"unpackedSize":16889,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbRYkf4qit3U6r9+jsWwEyq88TNiXFOPAj51QQhZr9IgIhAIsSuGHsseFLOTXRdSGjRAYsq8wO7whBsVCP93WoB30w"}]},"_npmUser":{"name":"bsavignano","email":"brian@savi-studios.com"},"maintainers":[{"name":"bsavignano","email":"brian@savi-studios.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cypress-teamcity-reporter_4.0.1_1732527057983_0.20897971157164408"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-25T09:30:57.873Z","4.0.1":"2024-11-25T09:30:58.249Z","modified":"2024-11-25T09:30:58.500Z"},"maintainers":[{"name":"bsavignano","email":"brian@savi-studios.com"}],"description":"teamcity reporter for cypress","homepage":"https://github.com/SaViGnAnO/cypress-teamcity-reporter#readme","keywords":["cypress","mocha","teamcity","reporter","jetbrains"],"repository":{"type":"git","url":"git+https://github.com/SaViGnAnO/cypress-teamcity-reporter.git"},"author":{"name":"Brian Savignano"},"bugs":{"url":"https://github.com/SaViGnAnO/cypress-teamcity-reporter/issues"},"license":"MIT","readme":"# cypress-teamcity-reporter\n\n[![NPM version](https://badge.fury.io/js/cypress-teamcity-reporter.svg)](http://badge.fury.io/js/cypress-teamcity-reporter) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/5039ebe8175e46eaa00a8ef85dbcf523)](https://www.codacy.com/manual/paulo85br/cypress-teamcity-reporter?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=prma85/cypress-teamcity-reporter&amp;utm_campaign=Badge_Grade) [![Build Status](https://travis-ci.org/prma85/cypress-teamcity-reporter.svg?branch=master)](https://travis-ci.org/prma85/cypress-teamcity-reporter)\n\ncypress-teamcity-reporter is a Teamcity reporter which makes it possible to display test results in real-time, makes test information\navailable on the Tests tab of the Build Results page. It is based on the package `@cypress/mocha-teamcity-reporter` and was improved with new informations and support to the newer versions of mocha.\n\n## Version changes\n\nCheck out the [changelog](\"./CHANGELOG.md\")\n\n## Requirements\n\n- NodeJs 6+\n- Web Browser supporting ES6\n\n## To Install\n\nIn your project run a npm install command:\n\n`npm install cypress-teamcity-reporter --save-dev`\n\nor \n\n`yarn add cypress-teamcity-reporter --dev`\n\n## Usage\n\nhttps://github.com/visionmedia/mocha/wiki/Third-party-reporters describes using third party reporters in mocha.\n\nThen call mocha with:\n\n`mocha --reporter cypress-teamcity-reporter test`\n\nTo use it in the TeamCity, you can call:\n\n`cypress run --reporter cypress-teamcity-reporter`\n\n## Running In Browser\n\n- Use `lib/teamcityBrowser`\n- Has option parsing stripped out for the moment\n- Example use can be found in `test\\browser`\n- Custom log function can be set with window.customLogFunction\n\n## Customization\n\n### TeamCity flowId\n\nCan set flowId like:\n`mocha test --reporter mocha-teamcity-reporter --reporter-options flowId=gobbledygook`\n\n### Top-level suite name\n\nCan set a top-level suite name, which will wrap all other suites.  \nThis is useful for reading test output when running multiple suites in a single build\n\n- Environment variable: `MOCHA_TEAMCITY_TOP_LEVEL_SUITE=<suiteName>`\n- Reporter option: `topLevelSuite=<suiteName>`\n\n### log test failures with std error\n\nTo enable this please\nPlease note this will probaly be made default in the next major version\n\n- Environment variable: `USE_STD_ERROR=true`\n- Reporter option: `useStdError=true`\n\n### Record hook failures\n\nRecord failures for hooks such as before/after etc\nPlease note this will probably be made default in the next major version\n\n- Environment variable: `RECORD_HOOK_FAILURES=true`\n- Reporter option: `recordHookFailures=true`\n\n### Display Ignored Tests as Ignored in lieu of Pending\n\nDisplay ignored(skipped) tests as ignored in TeamCity instead of Pending.\n\n- Environment variable: `DISPLAY_IGNORED_AS_IGNORED=true`\n- Reporter option: `displayIgnoredAsIgnored=true`\n\n### Setting options\n\n- Set with reporter-options:\n\n`mocha test --reporter mocha-teamcity-reporter --reporter-options topLevelSuite=top-level-suite-name`\n\n`mocha test --reporter mocha-teamcity-reporter --reporter-options useStdError=true`\n\n`mocha test --reporter mocha-teamcity-reporter --reporter-options useStdError=true`\n\n- Set with environment variable\n\n`MOCHA_TEAMCITY_TOP_LEVEL_SUITE='top-level-suite-name' mocha test --reporter mocha-teamcity-reporter`\n","readmeFilename":"README.md"}