Socket
Socket
Sign inDemoInstall

testx-ictu-reporter

Package Overview
Dependencies
19
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    testx-ictu-reporter

A reporter for exporting test results to ICTU test results repository.


Version published
Weekly downloads
285
decreased by-41.6%
Maintainers
1
Install size
1.74 MB
Created
Weekly downloads
 

Readme

Source

testx-ictu-reporter

Simple test results reporter for ICTU quality system.

Usage

To add Jasmine reports to your test run

  reporter = require 'testx-ictu-reporter'
  reporter.addJasmineReporters
    junit: # set to false to omit this reporter
      dir: 'results/junit' # defaults to 'testresults/junit'
      file: 'junit-' # defaults to 'junit'
    html:  # set to false to omit this reporter
      dir: 'testresults/html' # defaults to 'testresults/html'
    spec:  # set to false to omit this reporter
      displayStacktrace: false # defaults to false

You can have all reports installed with their default values if you omit the corresponding options attribute. This means that if you just invoke addJasmineReporters without an argument all reporters will be added with their default values.

If you do not want to add certain reporter simply set the corresponding option attribute to false. For example if you do not want to use the HTML reporter do

  reporter.addJasmineReporters
    html: false

To send results to your test results collection service

  reporter = require 'testx-ictu-reporter'
  reporter.sendResults 'http://path.to.trr.service', 'path/to/testresults.xml',
    appName: '[APP_NAME]'
    appVersion: '[APP_VERSION]'
    testDesc: '[TEST_DESCRIPTION]'
    testUser: '[TEST_USER]'
    testVersion: '[TEST_VERSION]'
    testTarget: '[TEST_TARGET]'
    testPlatform: '[TEST_PLATFORM]'

Keywords

FAQs

Last updated on 14 Jan 2016

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