robotframework-faker


Namerobotframework-faker JSON
Version 6.0.0 PyPI version JSON
download
home_pagehttps://github.com/marketsquare/robotframework-faker
SummaryRobot Framework wrapper for faker, a fake test data generator
upload_time2025-07-18 00:23:36
maintainerNone
docs_urlNone
authorRobot Framework Community, Ed Manlove
requires_pythonNone
licenseMIT
keywords robotframework testing test automation testautomation atdd bdd faker
VCS
bugtrack_url
requirements faker robotframework wrapt
Travis-CI No Travis.
coveralls test coverage No coveralls.
            robotframework-faker
====================

.. image:: https://travis-ci.org/marketsquare/robotframework-faker.svg?branch=master
    :target: https://pypi.python.org/pypi/robotframework-faker
.. image:: https://img.shields.io/pypi/v/robotframework-faker.svg
    :target: https://pypi.python.org/pypi/robotframework-faker
.. image:: https://img.shields.io/pypi/dm/robotframework-faker.svg
    :target: https://pypi.python.org/pypi/robotframework-faker
.. image:: https://img.shields.io/pypi/l/robotframework-faker.svg
    :target: https://pypi.python.org/pypi/robotframework-faker

Robot Framework keyword library wrapper for
`Faker <https://github.com/joke2k/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! <http://robotframework.org/>`__

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 <https://marketsquare.github.io/robotframework-faker/>`__

.. code:: robotframework

    *** 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:

.. code:: robotframework

    *** Settings ***
    Library    FakerLibrary    locale=de_DE    seed=124

See `FakerLibrary's tests <https://github.com/marketsquare/robotframework-faker/tree/master/tests/>`__ for more usage examples.

Contribute
----------

If you like this module, please contribute! We welcome patches,
documentation, issues, ideas, and so on.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/marketsquare/robotframework-faker",
    "name": "robotframework-faker",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "robotframework testing test automation testautomation atdd bdd faker",
    "author": "Robot Framework Community, Ed Manlove",
    "author_email": "emanlove@verizon.net",
    "download_url": "https://files.pythonhosted.org/packages/35/7a/65eb137cd8ba03d829c3c4f7963de08c5bcdb58c54c359e672b346d3f70f/robotframework_faker-6.0.0.tar.gz",
    "platform": "any",
    "description": "robotframework-faker\n====================\n\n.. image:: https://travis-ci.org/marketsquare/robotframework-faker.svg?branch=master\n    :target: https://pypi.python.org/pypi/robotframework-faker\n.. image:: https://img.shields.io/pypi/v/robotframework-faker.svg\n    :target: https://pypi.python.org/pypi/robotframework-faker\n.. image:: https://img.shields.io/pypi/dm/robotframework-faker.svg\n    :target: https://pypi.python.org/pypi/robotframework-faker\n.. image:: https://img.shields.io/pypi/l/robotframework-faker.svg\n    :target: https://pypi.python.org/pypi/robotframework-faker\n\nRobot Framework keyword library wrapper for\n`Faker <https://github.com/joke2k/faker>`__.\n\nThis module allows easy use of Faker's random test data generation in\nRobot Framework. I hate using static test data, because inevitably the\nsystem under test evolves to pass the tests without necessarily solving\nthe root cause of bugs.\n\nAny docstrings Faker provides are passed through to Robot Framework, so\nthey're available in RIDE and in keyword documentation generated via\nlibdoc.\n\nFor more information on Robot Framework please visit `the Robot\nFramework homepage! <http://robotframework.org/>`__\n\nInstallation\n------------\n\n``pip install robotframework-faker``\n\nFaker package dependency\n------------------------\n\nStarting with FakerLibrary v6.0.0, the corresponding version of Faker Python package\nis no longed pinned in its requirements. It will be up to the users of this library to\nselect and, if decided upon, to pin the version in their own setup and CI environments.\nNote this means the keyword documentation may not match that on the users system.\n\nUsage\n-----\n\n`FakerLibrary keyword\ndocumentation <https://marketsquare.github.io/robotframework-faker/>`__\n\n.. code:: robotframework\n\n    *** Settings ***\n    Library    FakerLibrary\n\n    *** Test Cases ***\n    FakerLibrary Words Generation\n        ${words}=    FakerLibrary.Words\n        Log    words: ${words}\n        ${words}=    FakerLibrary.Words    nb=${10}\n        Log    words: ${words}\n\nYou can also specify seeds and providers:\n\n.. code:: robotframework\n\n    *** Settings ***\n    Library    FakerLibrary    locale=de_DE    seed=124\n\nSee `FakerLibrary's tests <https://github.com/marketsquare/robotframework-faker/tree/master/tests/>`__ for more usage examples.\n\nContribute\n----------\n\nIf you like this module, please contribute! We welcome patches,\ndocumentation, issues, ideas, and so on.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Robot Framework wrapper for faker, a fake test data generator",
    "version": "6.0.0",
    "project_urls": {
        "Download": "https://pypi.python.org/pypi/robotframework-faker",
        "Homepage": "https://github.com/marketsquare/robotframework-faker"
    },
    "split_keywords": [
        "robotframework",
        "testing",
        "test",
        "automation",
        "testautomation",
        "atdd",
        "bdd",
        "faker"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "32f78dfcfa47e37cc6c3a6f43da96793dc3d8cf4bced6ad75f9e3df067346738",
                "md5": "4bca5348d2b23294347c847d5153ce97",
                "sha256": "7238291976cc503950a73c080cb77f61ae8493540b82d9e565a3c4ef2c3c72eb"
            },
            "downloads": -1,
            "filename": "robotframework_faker-6.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4bca5348d2b23294347c847d5153ce97",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4716,
            "upload_time": "2025-07-18T00:23:35",
            "upload_time_iso_8601": "2025-07-18T00:23:35.200692Z",
            "url": "https://files.pythonhosted.org/packages/32/f7/8dfcfa47e37cc6c3a6f43da96793dc3d8cf4bced6ad75f9e3df067346738/robotframework_faker-6.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "357a65eb137cd8ba03d829c3c4f7963de08c5bcdb58c54c359e672b346d3f70f",
                "md5": "4b5ea2915fa8eeee74baf5b4120e1db0",
                "sha256": "f72c6032d3c347dd235b7c855c66acb8b16392d4ee0267850652c8998899385d"
            },
            "downloads": -1,
            "filename": "robotframework_faker-6.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4b5ea2915fa8eeee74baf5b4120e1db0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4823,
            "upload_time": "2025-07-18T00:23:36",
            "upload_time_iso_8601": "2025-07-18T00:23:36.355456Z",
            "url": "https://files.pythonhosted.org/packages/35/7a/65eb137cd8ba03d829c3c4f7963de08c5bcdb58c54c359e672b346d3f70f/robotframework_faker-6.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-18 00:23:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "marketsquare",
    "github_project": "robotframework-faker",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "faker",
            "specs": []
        },
        {
            "name": "robotframework",
            "specs": []
        },
        {
            "name": "wrapt",
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "robotframework-faker"
}
        
Elapsed time: 1.33379s