{"id":28331175,"url":"https://github.com/basilahamed/behave_json_integration","last_synced_at":"2026-05-15T01:34:11.454Z","repository":{"id":295079794,"uuid":"989065494","full_name":"BASILAHAMED/Behave_JSON_Integration","owner":"BASILAHAMED","description":"⚙️ Automating SauceDemo login using Python BDD with JSON-driven test cases. Clean structure with result-writing back to JSON.","archived":false,"fork":false,"pushed_at":"2025-05-23T13:59:28.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-19T02:38:07.351Z","etag":null,"topics":["automation-testing","bdd","behave","behave-framework","python","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","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/BASILAHAMED.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":"2025-05-23T13:57:48.000Z","updated_at":"2025-05-23T14:00:19.000Z","dependencies_parsed_at":"2025-05-29T10:46:50.455Z","dependency_job_id":null,"html_url":"https://github.com/BASILAHAMED/Behave_JSON_Integration","commit_stats":null,"previous_names":["basilahamed/behave_json_integration"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BASILAHAMED/Behave_JSON_Integration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BASILAHAMED%2FBehave_JSON_Integration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BASILAHAMED%2FBehave_JSON_Integration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BASILAHAMED%2FBehave_JSON_Integration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BASILAHAMED%2FBehave_JSON_Integration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BASILAHAMED","download_url":"https://codeload.github.com/BASILAHAMED/Behave_JSON_Integration/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BASILAHAMED%2FBehave_JSON_Integration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006766,"owners_count":26084148,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["automation-testing","bdd","behave","behave-framework","python","selenium"],"created_at":"2025-05-26T18:28:33.646Z","updated_at":"2025-10-11T08:18:06.752Z","avatar_url":"https://github.com/BASILAHAMED.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Behave_JSON_Integration\n\n**Python Behave BDD project using JSON data-driven testing** for [https://www.saucedemo.com](https://www.saucedemo.com):\n\n```markdown\n# 🧪 Python BDD JSON DDTF - SauceDemo Login Automation\n\nThis project showcases a **Data-Driven Testing Framework (DDTF)** using **Python Behave (BDD)** and **JSON** to manage test data. It automates login tests for [SauceDemo](https://www.saucedemo.com/), runs multiple credentials from a JSON file, and updates test results back into the same file.\n\n---\n\n## 🚀 Features\n\n- 📁 Test data stored and updated in JSON\n- ✅ BDD with **Behave**\n- 🧪 Automated testing with **Selenium WebDriver**\n- 🔁 Clean, reusable **Page Object Model**\n- 🧼 Lightweight and readable test configuration\n\n---\n\n## 🔧 Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/behave-json-saucedemo.git\ncd behave-json-saucedemo\n````\n\n2. Set up a virtual environment and install dependencies:\n\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\npip install -r requirements.txt\n```\n\n3. Ensure your Chrome version matches the ChromeDriver version.\n\n---\n\n## 🧪 Run the Tests\n\n```bash\nbehave\n```\n\n---\n\n## 📁 Sample JSON Structure\n\n```json\n[\n  {\n    \"username\": \"standard_user\",\n    \"password\": \"secret_sauce\",\n    \"expected\": \"success\",\n    \"result\": \"\"\n  },\n  {\n    \"username\": \"locked_out_user\",\n    \"password\": \"secret_sauce\",\n    \"expected\": \"failure\",\n    \"result\": \"\"\n  }\n]\n```\n\n\u003e 🟢 `result` is updated post-test execution.\n\n---\n\n## 📜 License\n\nMIT License\n\n---\n\n## 🙌 Acknowledgments\n\n* [Behave](https://github.com/behave/behave)\n* [Selenium](https://selenium.dev/)\n* [SauceDemo](https://www.saucedemo.com/)\n\n---\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilahamed%2Fbehave_json_integration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasilahamed%2Fbehave_json_integration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasilahamed%2Fbehave_json_integration/lists"}