Hello,
I have noticed that when running tests via Maven the Junit test report seems to nest as deeply as the corresponding tests (which is expected).
However, our testers normally use the Eclipse Junit runner, rather than Maven. When running from Eclipse the runner only nests the results to 5 levels. This makes it difficult to see exactly which line failed. This seems to be hard-coded into substeps-runner:
com.technophobia.substeps.runner.EclipseDescriptionProvider.
In method:
private Description buildDescription(final IExecutionNode node, final Map<Long, Description> descriptionMap,
final DescriptorStatus status)
I can see the line:
if (nodeWithChildren.hasChildren() && nodeWithChildren.getDepth() < 5) {Please can you tell me if this hard-coded nesting limit was put in place to overcome issues with Eclipse and the Junit runner? I have tried installing this project locally and removing the limit, and at first glance it seems to work without the limit. Are you aware of issues that required this limit?
I replaced the above with:
if (nodeWithChildren.hasChildren()) {Many thanks,
Gary