{"id":30224471,"url":"https://github.com/sukh2022/automation_testing","last_synced_at":"2025-08-14T13:36:16.488Z","repository":{"id":309754336,"uuid":"1037348592","full_name":"SUKH2022/Automation_Testing","owner":"SUKH2022","description":"Automated testing tool for validating Excel reports against design specifications with dynamic summary validation.","archived":false,"fork":false,"pushed_at":"2025-08-13T16:23:28.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T17:39:23.608Z","etag":null,"topics":["automation-testing","csv","excel","python"],"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/SUKH2022.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-08-13T12:44:59.000Z","updated_at":"2025-08-13T17:25:20.000Z","dependencies_parsed_at":"2025-08-13T17:52:46.374Z","dependency_job_id":null,"html_url":"https://github.com/SUKH2022/Automation_Testing","commit_stats":null,"previous_names":["sukh2022/automation_testing"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/SUKH2022/Automation_Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKH2022%2FAutomation_Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKH2022%2FAutomation_Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKH2022%2FAutomation_Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKH2022%2FAutomation_Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUKH2022","download_url":"https://codeload.github.com/SUKH2022/Automation_Testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKH2022%2FAutomation_Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270429372,"owners_count":24582117,"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-08-14T02:00:10.309Z","response_time":75,"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","csv","excel","python"],"created_at":"2025-08-14T13:36:15.047Z","updated_at":"2025-08-14T13:36:16.483Z","avatar_url":"https://github.com/SUKH2022.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📊 Excel Report Validator\n\n[![Python](https://img.shields.io/badge/python-3.8%2B-blue)](https://www.python.org/)\n[![Pandas](https://img.shields.io/badge/pandas-1.3%2B-orange)](https://pandas.pydata.org/)\n\nAutomated testing tool for validating Excel reports against design specifications with dynamic summary validation. 🔍✨\n\n---\n\n## 🌟 Enhanced Features\n\n### ✅ Smart Cover Page Validation\n- Title spelling verification 📝  \n- ETL date sequence validation ⏳  \n- Version number matching 🔖  \n\n### 📋 Intelligent Column Comparison\n- Exact match detection ✔️  \n- Whitespace difference spotting ␣  \n- Case sensitivity analysis 🔠  \n- Word order validation 🔄  \n\n### 🧮 Dynamic Summary Validation (NEW!)\n- **Auto-reads expected values** from Summary_Page (Sheet 3) 📖  \n  - Brought Forward from **B3**  \n  - Approved from **B4**  \n  - End of Period from **B6**  \n- Real-time calculation verification 🧮  \n- Clear source tracking in results 📌  \n\n---\n\n## 🛠️ Installation\n\n```bash\ngit clone https://github.com/SUKH2022/Automation_Testing.git\ncd Automation_Testing\npip install pandas openpyxl\n```\n\n---\n\n## 🚀 Usage\n\nfrom report_validator import run_all_tests\n\n```bash\nrun_all_tests(\n    report_path=\"your_report.xlsx\",\n    design_spec_path=\"design_spec.csv\", \n    expected_version=\"1.5\"\n)\n```\n\n## 📊 Sample Output\n\n```bash\n=== Cover Page Tests ===\nTITLE_SPELLING: PASSED ✅ - All titles correct\nETL_DATES: PASSED ✅ - Dates valid (21-Jul-2025 → 22-Jul-2025)\nVERSION: FAILED ❌ - Expected 1.5, found 1.4\n\n=== Column Tests ===\nCOLUMN_MATCH: FAILED ❌ - 4 differences found\n   ▶ Column 7: Space difference\n   ▶ Column 8: 'date'≠'end' \n   ▶ Column 9: 'date'≠'end'\n   ▶ Column 15: 'codes'≠'code'\n\n=== Summary Tests ===\nBROUGHT_FORWARD: PASSED ✅ - 206 (matches B3)\nAPPROVED: PASSED ✅ - 144 (matches B4) \nEND_OF_PERIOD: PASSED ✅ - 149 (matches B6)\n   Calculation: 206 + 144 - 201 = 149 ✔️\n\n=== FINAL RESULT ===\nSOME TESTS FAILED ‼️\n```\n\n## 🆕 What's New in v1.1\n\n- 🎯 Dynamic Summary Validation: No more hardcoded values!\n\n- 📌 Clear Value Sourcing: Shows exactly which cells were used\n\n- 🧮 Calculation Breakdown: Detailed math in End of Period results\n\n- 🛠️ More Robust: Better error handling for summary page reads\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukh2022%2Fautomation_testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukh2022%2Fautomation_testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukh2022%2Fautomation_testing/lists"}