{"id":22363021,"url":"https://github.com/lambdatest/pytest-custom-metadata","last_synced_at":"2026-02-11T10:32:02.404Z","repository":{"id":97545326,"uuid":"502082632","full_name":"LambdaTest/Pytest-custom-metadata","owner":"LambdaTest","description":"Add custom metadata to automation tests in Pytest on LambdaTest","archived":false,"fork":false,"pushed_at":"2022-06-10T14:57:39.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-13T06:34:06.044Z","etag":null,"topics":["lambdatest","pytest","testing"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LambdaTest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-10T14:57:26.000Z","updated_at":"2022-06-13T07:43:56.000Z","dependencies_parsed_at":"2023-03-13T16:11:10.365Z","dependency_job_id":null,"html_url":"https://github.com/LambdaTest/Pytest-custom-metadata","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LambdaTest/Pytest-custom-metadata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-custom-metadata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-custom-metadata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-custom-metadata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-custom-metadata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LambdaTest","download_url":"https://codeload.github.com/LambdaTest/Pytest-custom-metadata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LambdaTest%2FPytest-custom-metadata/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lambdatest","pytest","testing"],"created_at":"2024-12-04T17:13:13.607Z","updated_at":"2026-02-11T10:32:02.398Z","avatar_url":"https://github.com/LambdaTest.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to add custom metadata to automation tests in Pytest on [LambdaTest](https://www.lambdatest.com/?utm_source=github\u0026utm_medium=repo\u0026utm_campaign=Pytest-custom-metadata)\n\nIf you want to add custom metadata to automation tests in Pytest on LambdaTest, you can follow the steps below. You can refer to sample test repo [here](https://github.com/LambdaTest/pytest-selenium-sample).\n\n# Steps\nWith LambdaTest, you can add custom meta data to automation tests. These are added for tests by setting the data in `customData` capability. The code below illustrates the usage:\n\n```\ncapabilities = {\n        \"build\": \"Sample PY Build\",\n        \"platformName\": \"Windows 11\",\n        \"browserName\": \"Chrome\",\n        \"browserVersion\": \"latest\",\n\t\t\"customData\": [ \t\n\t\t\t\t\t\t{ \"_id\": \"5f46aaa69adf77cfe2bb4fd6\", \n\t\t\t\t\t\t\"index\": \"0\", \n\t\t\t\t\t\t\"guid\": \"9451b204-12f0-4177-8fe9-fb019b3e4bf3\", \n\t\t\t\t\t\t\"isActive\": \"False\", \n\t\t\t\t\t\t\"picture\": \"http//placehold.it/32x32\" } ]\n}\n```\n\n## Run your test\n\n```bash\ncd tests //navigate to tests directory\npython sample_todo.py\n```\n\n# Links:\n\n[LambdaTest Community](http://community.lambdatest.com/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Fpytest-custom-metadata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdatest%2Fpytest-custom-metadata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdatest%2Fpytest-custom-metadata/lists"}