robotframework-faker


Namerobotframework-faker JSON
Version 5.0.0 PyPI version JSON
download
home_pagehttps://github.com/guykisel/robotframework-faker
SummaryRobot Framework wrapper for faker, a fake test data generator
upload_time2020-01-31 07:51:30
maintainer
docs_urlNone
authorGuy Kisel
requires_python
licenseMIT
keywords robotframework testing test automation testautomation atdd bdd faker
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            robotframework-faker
====================

.. image:: https://travis-ci.org/guykisel/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``

Usage
-----

`FakerLibrary keyword
documentation <https://guykisel.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 for more usage examples.

Contribute
----------

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





            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/guykisel/robotframework-faker",
    "name": "robotframework-faker",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "robotframework testing test automation testautomation atdd bdd faker",
    "author": "Guy Kisel",
    "author_email": "guy.kisel@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/37/f7/9d388983b12c4eefff25d134ce7a7a32385e565f738d23d0d0040fd3082e/robotframework-faker-5.0.0.tar.gz",
    "platform": "any",
    "description": "robotframework-faker\n====================\n\n.. image:: https://travis-ci.org/guykisel/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\nUsage\n-----\n\n`FakerLibrary keyword\ndocumentation <https://guykisel.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 for more usage examples.\n\nContribute\n----------\n\nIf you like this module, please contribute! I welcome patches,\ndocumentation, issues, ideas, and so on.\n\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Robot Framework wrapper for faker, a fake test data generator",
    "version": "5.0.0",
    "project_urls": {
        "Download": "https://pypi.python.org/pypi/robotframework-faker",
        "Homepage": "https://github.com/guykisel/robotframework-faker"
    },
    "split_keywords": [
        "robotframework",
        "testing",
        "test",
        "automation",
        "testautomation",
        "atdd",
        "bdd",
        "faker"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5327e51e1ab454b0d207a86cd6395b663da0f524f5aba54a4126fee342cd8e47",
                "md5": "f1cf7bcf76b23ed880e21543ca15c5db",
                "sha256": "3471bc398caf0d9ac569ccacff21068f9233c10e08e7bda56a813272b57932e3"
            },
            "downloads": -1,
            "filename": "robotframework_faker-5.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f1cf7bcf76b23ed880e21543ca15c5db",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4326,
            "upload_time": "2020-01-31T07:51:24",
            "upload_time_iso_8601": "2020-01-31T07:51:24.146781Z",
            "url": "https://files.pythonhosted.org/packages/53/27/e51e1ab454b0d207a86cd6395b663da0f524f5aba54a4126fee342cd8e47/robotframework_faker-5.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37f79d388983b12c4eefff25d134ce7a7a32385e565f738d23d0d0040fd3082e",
                "md5": "a1422edc6469d154efa19a1b258839c1",
                "sha256": "0ba9cc2c353a9a2dd3924869a583f217e6738bff0546a07a3e581186af166531"
            },
            "downloads": -1,
            "filename": "robotframework-faker-5.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a1422edc6469d154efa19a1b258839c1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4521,
            "upload_time": "2020-01-31T07:51:30",
            "upload_time_iso_8601": "2020-01-31T07:51:30.432045Z",
            "url": "https://files.pythonhosted.org/packages/37/f7/9d388983b12c4eefff25d134ce7a7a32385e565f738d23d0d0040fd3082e/robotframework-faker-5.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-01-31 07:51:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "guykisel",
    "github_project": "robotframework-faker",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "robotframework-faker"
}
        
Elapsed time: 1.10976s