
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
mochawesome-report
Advanced tools
Generates gorgeous HTML reports in Mocha.js from mochawesome reporter.
mochawesome-report is the counterpart to a mochawesome, a custom reporter for use with the Javascript testing framework, mocha. This package takes the JSON output from mochawesome and generates a full fledged HTML/CSS report that helps visualize your test suites.
##Features
describe
s##Browser Support Tested to work in Chrome. Should work in any modern web browser including IE9+. mochawesome-report generates a self-contained report that can be viewed offline.
##Sample Report
##Usage
via CLI
Install mochawesome-report package
npm install -g mochawesome-report
Run the command
mareport [test-output.json] <options>
via Mochawesome reporter
See mochawesome docs.
##Output mochawesome-report generates the following inside your project directory:
mochawesome-report/
├── assets
│ ├── app.css
│ ├── app.js
│ ├── MaterialIcons-Regular.woff
│ ├── MaterialIcons-Regular.woff2
│ ├── roboto-light-webfont.woff
│ ├── roboto-light-webfont.woff2
│ ├── roboto-medium-webfont.woff
│ ├── roboto-medium-webfont.woff2
│ ├── roboto-regular-webfont.woff
│ └── roboto-regular-webfont.woff2
└── mochawesome.html
##CLI Options
mochawesome-report can be configured via command line flags
Flag | Type | Default | Description |
---|---|---|---|
-f, --reportFilename | string | mochawesome | Filename of saved report |
-o, --reportDir | string | [cwd]/mochawesome-report | Path to save report |
-t, --reportTitle | string | mochawesome | Report title |
-p, --reportPageTitle | string | mochawesome-report | Browser title |
-i, --inline | boolean | false | Inline report assets (scripts, styles) |
--charts | boolean | true | Display Suite charts |
--code | boolean | true | Display test code |
--dev | boolean | false | Enable dev mode (requires local webpack dev server) |
-h, --help | Show CLI help |
Boolean options can be negated by adding --no
before the option. For example: --no-code
would set code
to false
.
FAQs
Generates gorgeous HTML reports in Mocha.js from mochawesome reporter.
We found that mochawesome-report 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.