
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Disclaimer: Albeit useful already, this is a work-in-progress and should be seen as such.
A coverage plugin for Python's Ward testing framework
Build the plugin:
poetry build
and install using
pip install dist/ward_coverage-0.1.1-py3-none-any.whl
To include coverage in your test run, add the following to your pyproject.toml
:
[tool.ward]
hook_module = ["ward_coverage"]
There are several options to configure the plugin which can be included under section [tool.ward.plugins.coverage]
, namely:
report_type
, defaulting to ["term"]
, which is a list of report types to generate. Possible values are one or more of 'lcov', 'html', 'xml', 'json', 'term'threshold
for minimum coverage, affecting the color the result panel has for some sort of visual cue[run]
section goes to [tool.ward.plugins.coverage]
and other sections need their separate block (e.g [tool.ward.plugins.coverage.report]
) or dictionary entry within the [tool.ward.plugins.coverage]
section in toml.[tool.ward.plugins.coverage]
omit = ["*test*", "example.py", "**/__init__.py"]
report_type = ["term", "xml"]
source = ["."]
branch = true
relative_files = true
report = {skip_empty = true}
Contributors, issues and feature requests are welcome.
FAQs
A coverage plugin for Ward testing framework
We found that ward-coverage 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.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.