
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
tck-reporter
Advanced tools
TCK Reporter generates HTML reports for Test Compatibility Kits. This library was built and later generalized for use in raml-org/raml-tck and asyncapi/tck but can be used in any project.
$ npm i -g tck-reporter
Generate JSON reports with tck runner (not provided in this repo).
Point tck-reporter
to generated JSON reports directory and provide other required arguments/options:
Usage: tck-reporter [options] <jsonReportsDir> <outputHtmlDir>
Generate HTML reports from TCK JSON reports.
Options:
--repoBranchUrl <url> Github repo branch blob url. Is used to generate tck test files links. To produce valid links it
must have format: "https://github.com/USER/REPO/blob/BRANCH"
-h, --help display help for command
Pages look can be customize by writing custom CSS at <outputHtmlDir>/static/user-styles.css
.
The tool expects input JSON reports to be valid against the report-schema.json JSON Schema.
E.g.:
{
"parser": {
"language": "go",
"name": "jumpscale",
"url": "https://github.com/Jumpscale/go-raml/tree/master/raml",
"version": "0.1"
},
"results": [
{
"file": "/tests/raml-1.0/Root/version/invalid-version-structure.raml",
"success": false,
"error": "Error parsing RAML:\n line 4: string value cannot be of type mapping, must be string\n"
},
{
"file": "/tests/raml-1.0/Root/version/valid.raml",
"success": true,
"error": ""
},
...
]
}
Invalid reports will produce an error log and will be skipped. E.g.:
Error: Invalid report "/there/my-parser.json": should have required property 'language' (.parser)
FAQs
HTML reports generator for Test Compatibility Kits.
The npm package tck-reporter receives a total of 0 weekly downloads. As such, tck-reporter popularity was classified as not popular.
We found that tck-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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.