Socket
Socket
Sign inDemoInstall

jest-teamcity

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jest-teamcity

Teamcity Reporter for Jest Testing framework


Version published
Weekly downloads
39K
increased by2.82%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

jest-teamcity

Build Status Package Verifier

TeamCity Reporter for Jest testing framework which groups tests using TeamCity Test Suites.

Features

  • grouping tests by test suites
  • output tests duration
  • output pending, failed test with message and stack

Install

Install with npm: npm install --save-dev jest-teamcity

Usage

Add this into the jest configuration file:

"reporters": ["default", "jest-teamcity"]

The reporter is enabled only if TEAMCITY_VERSION environment variable is set. It should work in TeamCity by default.

To be able to run the tests with the reporter locally, environment variable should be set:

export TEAMCITY_VERSION="some_version"

Package.json example:

"scripts": {
    "test": "jest"
}

With this configuration, you can run the tests with npm test. If the TEAMCITY_VERSION environment variable is set, it produces the output in TeamCity's format. Otherwise, standard jest output is produced.

License

MIT © [Ivan Tereshchenkov]

Keywords

FAQs

Last updated on 21 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc