Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A nose2 plugin for generating searchable HTML reports of your test results.
You can install the Nose2 HTML Report Plugin using pip
:
pip install nose2-html-report
To get nose2
to recognize the plugin add an entry into the plugin
key of the unittest
section of your nose2.cfg
file. Configurations for the plugin should be placed into an html-report
section of the configuration file. Below is a working example:
[unittest]
plugins = nose2_html_report.html_report
[html-report]
always-on = True
Specify the path for the HTML report. Defaults to report.html
[unittest]
plugins = nose2_html_report.html_report
[html-report]
always-on = True
path = test_results/my_custom_report_file.html
Command line flag:
nose2 --html-report
If you have always-on=True
inside your nose2.cfg
:
nose2
This is a small side project of mine. Feel free to submit any pull requests.
FAQs
Generate an HTML report for your unit tests
We found that nose2-html-report demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.