Skip to content

I20240329-0530

@iloveeclipse iloveeclipse tagged this 29 Mar 09:22
When running JUnit 5 @TestTemplate tests, extra test suites are shown in
the JUnit view to represent the tests in the template. Those suites
introduce unnecessary noise when the template contains only one test -
e.g. when repeating tests that failed.

This change adjusts TestSuiteElement.getChildren(), pruning each
TestSuiteElement that has a single TestCaseElement child that is also a
dynamic test.

Fixes https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/945
Assets 2
Loading