← All work

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

Architecture summary based on the implemented framework

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

Architecture summary based on the implemented framework
Run modeUse it forReview
Cucumber onlyUser journeys and acceptance behavior.Scenario names and failure evidence.
TestNG onlyTargeted technical and data checks.Test names, descriptions and assertions.
CombinedShared 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.

Working on a similar product?

Share the workflow or release risk your team wants to understand better.

Discuss Your Product