
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
The vedro-lazy-rerunner
is a plugin for the Vedro testing framework.
It reruns failed scenarios until they pass for the first time. If none of the reruns are successful, the test is marked as failed after the designated number of attempts.
$ pip3 install vedro-lazy-rerunner
# ./vedro.cfg.py
import vedro
import vedro_lazy_rerunner
class Config(vedro.Config):
class Plugins(vedro.Config.Plugins):
class LazyRerunner(vedro_lazy_rerunner.LazyRerunner):
enabled = True
Run Vedro with the --lazy-reruns
option set to the desired number of reruns:
$ vedro run --lazy-reruns=5
$ vedro run --lazy-reruns=5
Scenarios
*
✔ check number
│
├─[1/2] ✗ check number
│
├─[2/2] ✔ check number
# 1 scenario, 1 passed, 0 failed, 0 skipped (0.01s)
The test passed on the second attempt. The remaining 3 attempts were not needed. The test is considered passed.
$ vedro run --lazy-reruns=5
Scenarios
*
✗ check number
│
├─[1/5] ✗ check number
│
├─[2/5] ✗ check number
│
├─[3/5] ✗ check number
│
├─[4/5] ✗ check number
│
├─[5/5] ✗ check number
# 1 scenario, 0 passed, 1 failed, 0 skipped (0.02s)
The test is considered failed as it did not pass in any of the 5 attempts.
FAQs
Rerunner plugin for the Vedro testing framework
We found that vedro-lazy-rerunner 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
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.