You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 17, 2020. It is now read-only.
I am using extent report 3.1.2 to generate Automation test summary report in Cucumber framework . I am stuck up in implement couple of customized requests from Client .
Client Request : Hierarchy would be Suite ( Left Side of the page in the report)--> Parent (Right side of the page in the report )--> Child ( under Parent )--> Grand Child (Under Child)
Current Behavior
I am able to create Execution results in report in below manner.
Test name (Parent )--> Child (validation points)--> Grand Child (Steps under validation points)
Please let me know can we Implement in extent report ? . I tried few things but facing issue . Please help me know on this.
You can modify this implementation to add the suiteTestThreadLocal as well:
public void feature(Feature feature) {
featureTestThreadLocal.set(getExtentReport().createTest(com.aventstack.extentreports.gherkin.model.Feature.class, feature.getName()));
ExtentTest test = featureTestThreadLocal.get();
for (Tag tag : feature.getTags()) {
test.assignCategory(tag.getName());
}
}
Activity
foursyth commentedon Aug 16, 2018
See here: https://github.com/email2vimalraj/CucumberExtentReporter/blob/master/src/main/java/com/vimalselvam/cucumber/listener/ExtentCucumberFormatter.java
You can modify this implementation to add the suiteTestThreadLocal as well: