robotframework-timer
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.
Installation
pip install robotframework-timer
Examples:
*** 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
Metadata
Release files for robotframework-timer 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframework-timer-0.0.6.tar.gz | 4.7 kB | Without provenance | Details for robotframework-timer-0.0.6.tar.gz |
Release files / robotframework-timer-0.0.6.tar.gz
| Download URL | robotframework-timer-0.0.6.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01b345dc4e6f97aae8044c069949b68ef844cb0d000e8964904002912aed82d7
|
|
BLAKE2b-256 checksum How to use checksums |
b5a93e26aba6cd577b3cc5131c43c0d257e17dd6f936237bbfca3c4ff01ae5ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for robotframework-timer 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.