foursyth
foursyth
Can you share this report here or at [email protected]? Note: when marking a test as failed, you can't just mark the parent as failed. If there is a child, it...
@yogitthakral can you please format your code so it's readable?
Please try with this: ```java public class ExtentITestListener implements ITestListener { private static final ExtentReports EXTENT = Extent.getInstance(); private static ThreadLocal methodTest = new ThreadLocal(); private static ThreadLocal dataProviderTest =...
Version 4 announcement http://extentreports.com/extent-framework-version-4-announcement/
Thanks, I will have a look and update you.
Version 4 announcement http://extentreports.com/extent-framework-version-4-announcement/
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: ``` 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 :...
No, this won't be possible.
This should work: ``` public class ExtentTestNGReportBuilder { private static ExtentReports extent = ExtentManager.createInstance("test-output/extent.html"); private static ThreadLocal parentTest = new ThreadLocal(); private static ThreadLocal test = new ThreadLocal(); @BeforeClass public...
Version 2 is no longer supported. Please upgrade to version 3 out the upcoming version 4 (next month).