Skip to main content
https://travis-ci.org/marketsquare/robotframework-faker.svg?branch=master https://img.shields.io/pypi/v/robotframework-faker.svg https://img.shields.io/pypi/dm/robotframework-faker.svg https://img.shields.io/pypi/l/robotframework-faker.svg

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.

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)

Source distribution for robotframework-faker 6.0.0
File Size Uploaded
robotframework_faker-6.0.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-faker 6.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

6.0.0 This release

2 release files

5.0.0

2 release files

4.3.0

1 release file

4.2.0

2 release files

4.0.0

1 release file

3.0.0

1 release file

2.0.4

1 release file

2.0.3

1 release file

2.0.2

1 release file

2.0.1

1 release file

1.1

1 release file

1.0

1 release file

0.9

1 release file

0.8

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page