🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

daspec-junit-xml-formatter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daspec-junit-xml-formatter

Junit XML result formatter for DaSpec

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Junit XML result formatter for the DaSpec JS Node runner - helpful for integrating DaSpec with continuous integration servers.

Installation

In your project, install the daspec node runner

npm install daspec --save-dev

Then install the JUnit XML reporter

npm install daspec-junit-xml-formatter --save-dev

Add the daspec-junit-xml-formatter to the formatters when you run daspec from the command line

daspec --specs ... --steps ... --formatters daspec-junit-xml-formatter

Alternatively, set the formatters in your daspec.json config file

{
  ...
  "formatters": [... , "daspec-junit-xml-formatter"],
  ...
}

## Changing the default output file

By default, the formatter will save the results in report.xml in the output-dir configured in the DaSpec settings. You can change this by setting the junit-xml-file-name configuration setting, either in the config file or using the --junit-xml-file-name argument when invoking DaSpec. If the file name does not contain a folder path, it will be saved in the output-dir. If the file name also contains a folder, then the output-dir setting is ignored, and the file is saved relative to the current process working directory.

For more information on configuring the DaSpec Node runner, see http://daspec.com/guides/install.html

Keywords

daspec

FAQs

Package last updated on 21 Aug 2015

Did you know?

Socket

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