![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
custom_text_test_runner
Advanced tools
A custom test runner for python unittest which provides the following additional features: - custom result stream output in a more detailed, clear format with distinct sections for errors, failures, skipped test, overall suite results, and totals - all results are output to a json file allowing the results to easily be parsed and used for post-processing purposes and integrations with other services - automatic detection of screenshots (based on a screenshot directory argument) which are attached to the matching case result dict in the json results file - detailed time tracking at the case, suite, and overall level - ability to combine results from previous runs - config file can be passed with additional information for more customization (currently can provide a device_name key in the config to specify which devices to run a selenium or appium test for example with)
pip install custom_text_test_runner
::
import unittest
from custom_text_test_runner import CustomTextTestRunner
test_modules = unittest.defaultTestLoader.discover(start_dir='path/to/testdir', pattern='test*.py', top_level_dir=None)
return_code = CustomTextTestRunner(
verbosity=5,
results_file_path='path/to/result.json',
result_screenshots_dir='path/to/screenshots',
show_previous_results=True).run(test_modules).returnCode()
FAQs
Python Custom Text Test Runner
We found that custom_text_test_runner 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.