
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
wdio-junitcsv
Advanced tools
Converts Junit reports for Webdriver IO into CSV format.
npm install wdio-junitcsv
The script takes one argument, a directory path, which it parses for Junit reporter format XML files and merges them into a single CSV file. Output is returned to STDOUT which can be piped to a file or clipboard.
node junitcsv ./path/to/reports
const wdioJunitCSV = require('wdio-junitcsv');
console.log(wdioJunitCSV('./path/to/reports/'));
Field name | Description |
---|---|
UUID | Universal unique identifier for test case - generated from timestamp of test run |
uniqueId | ID combining first three characters from test attributes (script ID, test ID, browser name, platform name, device name) |
specPath | Directory path to which test suite belongs |
scriptId | ID for script extracted from suite name. If present, formed from initial alpha character and subsequent numeric characters |
testId | ID for test case extracted from test name. If present, formed from initial alpha character and subsequent numeric characters |
suiteName | Name of test suite |
browserName | Browser name from capabilities where supplied |
platformName | Operating system |
deviceName | Device name - defaults to desktop for desktop browser sessions |
testName | Name of test case within suite |
state | Passed or failed, based on whether <failed> element is present in Junit test case |
error | Taken from error message in Junit report |
urlInitial | First URL encountered when running the test |
urlExpected | When a test case fails on URL matching, extracts the expected URL |
urlActual | When a test case fails on URL matching, extracts the actual URL returned |
imageVariance | When using wdio-image-comparison-service and the test fails, returns the reported degree of variance beteen images |
start | Time stamp for when test was started |
duration | Duration of test suite in seconds |
FAQs
Convert wdio ouptut from Junit reportr XML to CSV
We found that wdio-junitcsv demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.