Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
mocha-json-output-reporter
Advanced tools
mocha json output file reporter
npm install --save-dev mocha-json-output-reporter
mocha --reporter mocha-json-output-reporter
The default file output will be test-report.json
in the current working directory
mocha --reporter mocha-json-output-reporter --reporter-options output=my-file.json
{
"stats": {
"suites": 3,
"tests": 9,
"passes": 9,
"pending": 0,
"failures": 0,
"start": "2021-07-15T20:06:25.845Z",
"end": "2021-07-15T20:06:27.489Z",
"duration": 1644
},
"tests": [
{
"title": "should success registration with granted access",
"fullTitle": "account invitation behaviour account invitation behaviour with the enabled access-policy should success registration with granted access",
"file": "/tests/account.spec.js",
"duration": 235,
"currentRetry": 0,
"err": {}
},
{
"title": "success:becomeMemberByInvitationCode",
"fullTitle": "account invitation behaviour account invitation behaviour with the enabled access-policy success:becomeMemberByInvitationCode",
"file": "/tests/account.spec.js",
"duration": 63,
"currentRetry": 0,
"err": {}
},
{
"title": "failed:becomeMemberByInvitationCode:invalidInviteToken:wrongUser ",
"fullTitle": "account invitation behaviour account invitation behaviour with the enabled access-policy failed:becomeMemberByInvitationCode:invalidInviteToken:wrongUser ",
"file": "/tests/account.spec.js",
"duration": 18,
"currentRetry": 0,
"err": {}
}
]
}
FAQs
mocha json reporter output file
The npm package mocha-json-output-reporter receives a total of 6,494 weekly downloads. As such, mocha-json-output-reporter popularity was classified as popular.
We found that mocha-json-output-reporter 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.