robotframework-faker
Robot Framework keyword library wrapper for Faker.
This module allows easy use of Faker’s random test data generation in Robot Framework. I hate using static test data, because inevitably the system under test evolves to pass the tests without necessarily solving the root cause of bugs.
Any docstrings Faker provides are passed through to Robot Framework, so they’re available in RIDE and in keyword documentation generated via libdoc.
For more information on Robot Framework please visit the Robot Framework homepage!
Installation
pip install robotframework-faker
Faker package dependency
Starting with FakerLibrary v6.0.0, the corresponding version of Faker Python package is no longed pinned in its requirements. It will be up to the users of this library to select and, if decided upon, to pin the version in their own setup and CI environments. Note this means the keyword documentation may not match that on the users system.
Usage
FakerLibrary keyword documentation
*** Settings ***
Library FakerLibrary
*** Test Cases ***
FakerLibrary Words Generation
${words}= FakerLibrary.Words
Log words: ${words}
${words}= FakerLibrary.Words nb=${10}
Log words: ${words}
You can also specify seeds and providers:
*** Settings ***
Library FakerLibrary locale=de_DE seed=124
See FakerLibrary’s tests for more usage examples.
Contribute
If you like this module, please contribute! We welcome patches, documentation, issues, ideas, and so on.
Metadata
Release files for robotframework-faker 6.0.0
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 | |
|---|---|---|---|---|
| robotframework_faker-6.0.0.tar.gz | 4.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| robotframework_faker-6.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / robotframework_faker-6.0.0.tar.gz
| Download URL | robotframework_faker-6.0.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f72c6032d3c347dd235b7c855c66acb8b16392d4ee0267850652c8998899385d
|
|
BLAKE2b-256 checksum How to use checksums |
357a65eb137cd8ba03d829c3c4f7963de08c5bcdb58c54c359e672b346d3f70f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Release files / robotframework_faker-6.0.0-py3-none-any.whl
| Download URL | robotframework_faker-6.0.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7238291976cc503950a73c080cb77f61ae8493540b82d9e565a3c4ef2c3c72eb
|
|
BLAKE2b-256 checksum How to use checksums |
32f78dfcfa47e37cc6c3a6f43da96793dc3d8cf4bced6ad75f9e3df067346738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.1
|
Security for robotframework-faker 6.0.0
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.