Prior to this fix, the following code results in an extra chart due to a bug which considers 3 levels when AnalysisStrategy == [Test, Class].
using AventStack.ExtentReports;
using AventStack.ExtentReports.Reporter;
var extent = new ExtentReports();
extent.AttachReporter(new ExtentSparkReporter("index.html"));
extent.CreateTest("Test").CreateNode("Node").CreateNode("Node").Pass();
extent.Flush();
This should not be the case, unless the analysis occurs for BDD/Specflow type instances where there are indeed 3 levels of tests:
- Feature
- Scenario
- Step
- Log (optional) (reported under log events instead of test)
Prior to this fix, the following code results in an extra chart due to a bug which considers 3 levels when
AnalysisStrategy == [Test, Class]
.This should not be the case, unless the analysis occurs for BDD/Specflow type instances where there are indeed 3 levels of tests:
Before:
After: