AUTOMATION ARCHITECTURE · CI/CD
One Java framework for Cucumber and TestNG
A shared execution and reporting setup supports business-readable Cucumber scenarios and code-first TestNG checks. Teams can choose the coverage they need while keeping failure evidence consistent.
Self-developed framework · Engineering case study
The product problem
Business-readable journeys and Java-native technical checks serve different readers. Maintaining two execution setups makes configuration, failure evidence and CI results harder for teams to interpret.
My contribution
I built a Selenium Java framework that supports Cucumber and TestNG in the same execution setup. It can run either style independently or both together. I added configurable retries, screenshots, reports and custom annotations for meaningful test names and descriptions.
Quality decisions that mattered
Support targeted and combined runs
A developer can select the appropriate test style for a focused check. A scheduled regression can include both suites.
Give failures useful context
Readable names and descriptions give reviewers context, while screenshots and report data support investigation.
Keep repeat attempts interpretable
Retries help diagnose transient failures. The first failure still matters when deciding whether a run is trustworthy.
Execution and reporting map
| Run mode | Use it for | Review |
|---|---|---|
| Cucumber only | User journeys and acceptance behavior. | Scenario names and failure evidence. |
| TestNG only | Targeted technical and data checks. | Test names, descriptions and assertions. |
| Combined | Shared regression execution. | Evidence associated with each test style. |
What the work delivered
One framework now supports both authoring styles and selectable execution, with shared reporting conventions.