Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

Ant UI tests use an inheritance hierarchy for sharing configuration and utility methods. This leads to duplications of performance test functionality and unnecessary classes for sharing utilities.

This change removes the AbstractAntUIBuildPerformanceTest and AbstractAntPerformanceTest classes by reusing the
PerformanceTestCaseJunit5 and integrating the remaining functionality into the single concrete performance test classes. In order to allow reuse of several inherited utility methods, they are moved to a dedicated AntUITestUtil class. In addition, the functionality for closing the welcome screen, which is embedded into the setup functionality of the common Ant UI test superclass, is extracted into a JUnit 5 extension to be used throughout all tests upon JUnit 5 migration.

Ant UI tests use an inheritance hierarchy for sharing configuration and
utility methods. This leads to duplications of performance test
functionality and unnecessary classes for sharing utilities.

This change removes the AbstractAntUIBuildPerformanceTest and
AbstractAntPerformanceTest classes by reusing the
PerformanceTestCaseJunit5 and integrating the remaining functionality
into the single concrete performance test classes. In order to allow
reuse of several inherited utility methods, they are moved to a
dedicated AntUITestUtil class. In addition, the functionality for
closing the welcome screen, which is embedded into the setup
functionality of the common Ant UI test superclass, is extracted into a
JUnit 5 extension to be used throughout all tests upon JUnit 5
migration.
@HeikoKlare HeikoKlare force-pushed the ant-ui-performancetests-inheritance branch from eacde6a to 6904f06 Compare December 30, 2025 21:52
@github-actions
Copy link
Contributor

github-actions bot commented Dec 30, 2025

Test Results

 1 953 files  ±0   1 953 suites  ±0   1h 21m 16s ⏱️ - 10m 53s
 4 745 tests ±0   4 721 ✅ ±0   24 💤 ±0  0 ❌ ±0 
14 235 runs  ±0  14 053 ✅ ±0  182 💤 ±0  0 ❌ ±0 

Results for commit 6904f06. ± Comparison against base commit 8df8bb6.

♻️ This comment has been updated with latest results.

@HeikoKlare HeikoKlare merged commit 56cd0a1 into eclipse-platform:master Dec 30, 2025
19 of 23 checks passed
@HeikoKlare HeikoKlare deleted the ant-ui-performancetests-inheritance branch December 30, 2025 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant