skillfed

robotframework-faker

Robot Framework wrapper for faker, a fake test data generator

robotframework-faker v6.0.0 248.3K downloads/30d#8,669 on PyPI69
Permissive license MIT AGING released

What it is and what it does

robotframework-faker bridges Faker, a popular fake data generator, into Robot Framework's keyword-driven testing model. Instead of hardcoding test values, you call Faker methods as Robot Framework keywords to generate realistic random data on the fly—names, addresses, emails, phone numbers, and much more. This helps catch bugs that static test data might mask by forcing your system under test to handle genuine variety.

The library wraps Faker's API directly, exposing its docstrings as Robot Framework keyword documentation visible in RIDE and libdoc output. You can configure locales and seeds at library initialization time. Since version 6.0.0, Faker is no longer pinned in requirements, giving you flexibility to choose your Faker version but making you responsible for compatibility management.

Use it for:

  • Generate diverse realistic names, emails, and addresses in data-driven test suites to avoid false positives from hardcoded values.
  • Seed Faker with a fixed value in CI/CD to ensure reproducible test runs while still using varied data.
  • Create locale-specific test data (e.g., German addresses, French names) by specifying locale at library initialization.
  • Populate database fixtures and API payloads with synthetic data that exercises real-world input patterns.
  • Build parameterized tests that exercise your system with hundreds of realistic variations without manual data entry.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Wraps Faker's random test data generation as Robot Framework keywords, letting you generate realistic fake data directly in Robot Framework test cases without static test data.

Yes, if you use Robot Framework and want to move away from static test data. The library is stable (Production/Stable status), has low install friction, and carries no known vulnerabilities. The aging maintenance status (last release 392 days ago) is a minor concern but not a blocker—the repository is still active and the library's scope is narrow and mature. The key gotcha is that you must now manage Faker version compatibility yourself; verify that your chosen Faker version works with your test environment before committing.

Install

robotframework-faker on PyPI

pip

pip install robotframework-faker

uv

uv add robotframework-faker

poetry

poetry add robotframework-faker

Installing robotframework-faker

Before you install

Low install friction with a pure-Python wheel distribution. Maintenance is aging—last release was 392 days ago—but the repository remains active with recent commits and no archived status. Depends on faker, robotframework, and wrapt, all stable libraries.

License in practice

MIT license is permissive; you can use this package freely in commercial and open-source projects with minimal restrictions, provided you include the license notice.

Quickstart

pip install robotframework-faker

# In a Robot Framework test file:
*** Settings ***
Library    FakerLibrary

*** Test Cases ***
Generate Test Data
    ${words}=    FakerLibrary.Words    nb=10
    Log    ${words}

Requires Robot Framework and Faker to be installed; Faker version is no longer pinned as of v6.0.0, so you must manage Faker compatibility yourself.

Verify before relying

  • Whether keyword documentation auto-generation via libdoc works reliably when Faker versions drift from the library's test environment.
  • Performance characteristics when generating large volumes of fake data in parallel test execution.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 3 — faker, robotframework, wrapt
Maintenance aging — 392 days since the last release
Last repo commit
First released
Downloads 248,296/month — #8,669 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: robotframework_faker-6.0.0-py3-none-any.whl

Keywords: robotframework, testing, test, automation, testautomation, atdd, bdd, faker

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Quality AssuranceTopic :: Software Development :: Testing

Tags

robot framework fake data generationfaker keywords for robot frameworkrandom test data robot frameworkrobot framework test data libraryfaker library wrapper robotdynamic test data robot frameworkrobot framework automation data
test-automationfake-datarobot-framework

More Testing packages