{"id":16148963,"url":"https://github.com/laurentbristiel/robotframework-faker-example","last_synced_at":"2025-03-18T18:33:10.352Z","repository":{"id":26723498,"uuid":"30180968","full_name":"laurentbristiel/robotframework-faker-example","owner":"laurentbristiel","description":"Robot Framework Faker library example","archived":false,"fork":false,"pushed_at":"2020-01-08T07:30:47.000Z","size":15,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T00:35:26.324Z","etag":null,"topics":["faker","robotframework"],"latest_commit_sha":null,"homepage":null,"language":"RobotFramework","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laurentbristiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T09:58:04.000Z","updated_at":"2024-04-18T10:18:53.000Z","dependencies_parsed_at":"2022-06-28T17:33:08.522Z","dependency_job_id":null,"html_url":"https://github.com/laurentbristiel/robotframework-faker-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentbristiel%2Frobotframework-faker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentbristiel%2Frobotframework-faker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentbristiel%2Frobotframework-faker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laurentbristiel%2Frobotframework-faker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laurentbristiel","download_url":"https://codeload.github.com/laurentbristiel/robotframework-faker-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221715908,"owners_count":16868641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["faker","robotframework"],"created_at":"2024-10-10T00:35:24.499Z","updated_at":"2025-03-18T18:33:10.344Z","avatar_url":"https://github.com/laurentbristiel.png","language":"RobotFramework","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robot Framework Fakerlibrary Examples\n\n![GitHub Actions](https://github.com/laurentbristiel/robotframework-faker-example/actions/workflows/robot-tests.yml/badge.svg)\n\nSet of examples of Robot Framework Faker Library usage.\n\nThis library generates random data to be used in test cases.\n\nResources for the library:\n- [Library source code](https://github.com/MarketSquare/robotframework-faker)\n- [Keywords documentation](https://marketsquare.github.io/robotframework-faker/)\n\nUsage:\n\n1. install Robot Framework and RF Faker Library\n    - `python3 -m pip install robotframework`\n    - `python3 -m pip install robotframework-faker`\n\n2. launch Robot tests\n    - whole suite: `robot faker-example.robot`\n    - specific test: `robot --test country_locale faker-example.robot`\n    \n\nFor example, this test:\n\n```robotframework\n    *** Test Cases ***\n    Faker_profile\n        ${address} =  FakerLibrary.address\n        ${country} =  FakerLibrary.country\n        ${email} =  FakerLibrary.email\n        ${first_name} =  FakerLibrary.first_name\n        ${last_name} =  FakerLibrary.last_name\n        ${phone_number} =  FakerLibrary.phone_number\n        ${profile} =  Catenate\n        ...             ${\\n}=======================================\n        ...             ${\\n}first_name: ${first_name}\n        ...             ${\\n}last_name: ${last_name}\n        ...             ${\\n}address: ${address}\n        ...             ${\\n}country: ${country}\n        ...             ${\\n}email: ${email}\n        ...             ${\\n}phone_number: ${phone_number}\n        ...             ${\\n}=======================================\n        Log To Console  ${profile}\n```\nwill produce an output similar to this:\n\n```console\n$ robot --test user_profile faker-example.robot\n=======================================\nFaker-Example\n=======================================\nFaker_profile                   .......\n=======================================\nfirst_name: Trevon\nlast_name: Nader\naddress: PSC 4099, Box 8542\nAPO AE 43357\ncountry: Tokelau\nemail: renner.bridgette@greenholt.info\nphone_number: 484.461.9307x600\n=======================================\nFaker_profile                  | PASS |\n---------------------------------------\n```\nor to that:\n```console\n$ robot --test user_profile faker-example.robot\n=======================================\nFaker-Example\n=======================================\nFaker_profile                   .......\n=======================================\nfirst_name: Sara\nlast_name: Gaylord\naddress: PSC 2996, Box 3404\nAPO AA 22214\ncountry: Cook Islands\nemail: luca99@yahoo.com\nphone_number: 250.723.9835x7058\n=======================================\nFaker_profile                  | PASS |\n---------------------------------------\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurentbristiel%2Frobotframework-faker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaurentbristiel%2Frobotframework-faker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaurentbristiel%2Frobotframework-faker-example/lists"}