Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
robotframework-timer
Advanced tools
Timer is small utility library that allows measuring the x amount of events within a single suite without the need to implement timing information into a separate scripts via robot.result api's.
Library allows multiple timers to be ongoing at any time by providing a benchmark a name or just a single benchmark if no name is given.
Each single timer can then be verified if its duration was within a given range or just lower than what was expected or all timers can be verified in one go if they where configured properly.
pip install robotframework-timer
*** Settings ***
Library Timer
Test Setup Benchmark Setup
Test Teardown Benchmark TearDown
*** Keywords ***
Benchmark Setup
Start Timer ${TEST NAME}
Benchmark TearDown
Stop Timer ${TEST NAME}
Timer Results Within 3 seconds 0 seconds ${TEST NAME}
*** Test Cases ***
Example No 1 Passes
Sleep 1 second
Example No 2 Passes
Sleep 2 second
Example No 3 Will Fail
Sleep 3 second
FAQs
Benchmark tools for robotframework
We found that robotframework-timer 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.