Socket
Socket
Sign inDemoInstall

testx-ictu-reporter

Package Overview
Dependencies
14
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

7

package.json
{
"name": "testx-ictu-reporter",
"version": "0.1.0",
"version": "0.2.0",
"description": "A reporter for exporting test results to ICTU test results repository.",

@@ -8,3 +8,6 @@ "main": "index.coffee",

"coffee-errors": "^0.8.6",
"form-data": "^0.2.0"
"form-data": "^0.2.0",
"jasmine-reporters": "^1.0.1",
"jasmine-spec-reporter": "~0.6.0",
"protractor-html-screenshot-reporter": "0.0.17"
},

@@ -11,0 +14,0 @@ "devDependencies": {

@@ -7,5 +7,23 @@ testx-ictu-reporter

## Usage
# To add Jasmine reports to your test run
```
report = require 'testx-ictu-reporter'
report 'http://path.to.trr.service', 'path/to/testresults.xml',
reporter = require 'testx-ictu-reporter'
reporter.addJasmineReporters
junit: # set to false to omit this reporter
dir: 'results/junit' # defaults to 'testresults/junit'
filePrefix: '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.
# 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]'

@@ -12,0 +30,0 @@ appVersion: '[APP_VERSION]'

Sorry, the diff of this file is not supported yet

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