{"id":26260759,"url":"https://github.com/ashwanicoding/testng-framework","last_synced_at":"2025-03-13T23:16:53.788Z","repository":{"id":260245204,"uuid":"880667507","full_name":"AshwaniCoding/TestNg-Framework","owner":"AshwaniCoding","description":"A TestNG-based automation framework designed for efficient test management, execution, and reporting, with features like dynamic data handling, cross-browser support, and detailed reporting. Ideal for scalable, end-to-end testing.","archived":false,"fork":false,"pushed_at":"2024-10-30T10:08:27.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-30T11:20:43.714Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/AshwaniCoding.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}},"created_at":"2024-10-30T06:05:49.000Z","updated_at":"2024-10-30T10:08:30.000Z","dependencies_parsed_at":"2024-10-30T11:33:44.465Z","dependency_job_id":null,"html_url":"https://github.com/AshwaniCoding/TestNg-Framework","commit_stats":null,"previous_names":["ashwanicoding/testng-framework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshwaniCoding%2FTestNg-Framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshwaniCoding%2FTestNg-Framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshwaniCoding%2FTestNg-Framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshwaniCoding%2FTestNg-Framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshwaniCoding","download_url":"https://codeload.github.com/AshwaniCoding/TestNg-Framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243495447,"owners_count":20299924,"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":[],"created_at":"2025-03-13T23:16:53.228Z","updated_at":"2025-03-13T23:16:53.768Z","avatar_url":"https://github.com/AshwaniCoding.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TestNG Framework Template\n\nThis repository provides a streamlined TestNG framework template configured for automated testing, designed specifically with only test components, JDK 21, and Maven. It’s ideal for modular test creation and can be easily adapted to multiple projects, with support for Excel-based data handling.\n\n## Key Features\n\n- **Test-Only Structure**: Organized solely around test classes for clarity and simplicity.\n- **Excel Data Handling**: Integrates with Apache POI for reading and writing Excel files, enabling data-driven testing.\n- **Cross-Browser Compatibility**: Configurable to run tests across various browsers.\n- **Detailed Reporting**: Generates comprehensive reports for analysis and debugging.\n- **Enhanced Error Logging**: Improved logging for easier troubleshooting.\n\n## Framework Structure\n\n- `src/test/java` - Contains all test cases, organized by modules.\n- `resources/` - Holds configuration files, such as `config.properties` and any Excel test data files.\n- `testng.xml` - Configures suite execution, test grouping, and parallel runs.\n\n## Getting Started\n\n1. **Clone the Repository**:\n      - `git clone https://github.com/AshwaniCoding/TestNg-Framework.git`\n      - `cd TestNg Framework`\n\n3. **Dependencies**: Ensure necessary dependencies, including `poi-ooxml`, are in your `pom.xml` for Maven management.\n\n4. **Configuration**:\n   - Edit `config.properties` for any environment-specific settings.\n   - Modify `testng.xml` to set up suites, parallel execution, and other test parameters.\n\n5. **Execute Tests**:\n      mvn test  \n\n## Reusing in Future Projects\n\nTo use this framework in new projects:\n1. Copy the `src`, `resources`, and configuration files.\n2. Update `testng.xml` and `config.properties` based on project requirements.\n3. Add and customize test cases as needed, using Excel files for data-driven testing if applicable.\n\n## Dependencies\n\n- **JDK 21**\n- **TestNG** (recommended version 7.0+)\n- **Apache POI (poi-ooxml)** for Excel file operations\n- **Selenium WebDriver** (for browser automation)\n- **Maven** (for dependency and build management)\n\n## Contributing\n\nFork the repository, submit issues, or create pull requests to contribute improvements or add new features.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwanicoding%2Ftestng-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwanicoding%2Ftestng-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwanicoding%2Ftestng-framework/lists"}