Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaforov/testngframework
DDT TestNG - Data Driven Testing TestNG Framework
https://github.com/gaforov/testngframework
page-object-model selenium-java selenium-webdriver test-automation test-driven-development testng testng-framework
Last synced: about 5 hours ago
JSON representation
DDT TestNG - Data Driven Testing TestNG Framework
- Host: GitHub
- URL: https://github.com/gaforov/testngframework
- Owner: gaforov
- Created: 2022-03-22T03:00:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-02T16:00:30.000Z (3 months ago)
- Last Synced: 2024-11-02T17:16:34.038Z (3 months ago)
- Topics: page-object-model, selenium-java, selenium-webdriver, test-automation, test-driven-development, testng, testng-framework
- Language: HTML
- Homepage:
- Size: 18.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TestNG Framework
_This is a Test Automation Framework demo that I have developed myself from the ground up._I've incorporated both **Test-Driven** (TDD) and **Data-Driven** Testing (DDT) into this TestNG Framework
- based on **Page Object Model** (POM) Pattern Design.
- _... and some tools I've implemented are:_
- **Java** as main language,
- **Selenium** as automation,
- **TestNG** for assertion and running tests,
- **XML files** for running tests such as **regression** and **smoke** tests,
- **Extent Reports** for generating **_beautiful reports_** after each test,
- **Maven** as an automation tool management used for dependency management using **Project Object Model** (pom.xml),
- **.properties files** for reading and retrieving test data from the config package,
- **Excel utility** function for reading and writing data to and from spreadsheets,
- **CommonFunctions** class added for reuse to avoid **DRY** (_Don't repeat yourself_) principle,
- and many more...
1. Organized, minimalistic, and clean coding is the key!
When someone pulls/opens your framework, you don't want this happen to them?
- ![](screenshots/tupperware-fail_clean_coding.gif)
2. Follow this simple formula to achieve number 1.
````mermaid
graph LR
A[Write Code] --> B{Does it work?}
B -- Yes --> C[Great!]
B -- No --> D[Google/StackOverFlow]
D -- Research/Refactor --> A
C --- E{{is it clean code?}}
E -- Yes --> F[Great!]
E -- No -->D````
- `System.out.println("Happy Coding!");`