Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pytest_pitch
runs tests in an order such that coverage increases as fast as possible. Typically 99% of the total coverage is achieved in 10% of the test session time.
First create persistent time-coverage record via pytest-donde
python -m pytest [YOUR SESSION ARGS] --donde=/path/to/src
where /path/to/src
is the code region to cover.
Then pass the record file to the plugin via
python -m pytest [YOUR SESSION ARGS] --pitch
If You change your test definitions or test selection [YOUR SESSION ARGS]
in step 2 without updating the record:
See this script as a demo which was used to create the image shown above.
The plugin employs Algorithm 1 from p. 3 of S. Khuller, A. Moss, J. Naor, The budgeted maximum coverage problem, Inf. Process. Lett. 70, 1999.
python -m pip install pytest_pitch
FAQs
runs tests in an order such that coverage increases as fast as possible
We found that pytest-pitch 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.