Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sorting parameter from ConfigurationSessionTestSuite #903 #1356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HeikoKlare
Copy link
Contributor

The ConfigurationSessionTestSuite sorts the test methods by default. A field identifies whether sorting is activated, but the field cannot even be set but is always true. So, this parameterization is completely obsolete and only introduces unnecessary complexity to the session test framework.

This unnecessary complexity in the JUnit 3 implementation of session tests complicates their migration to JUnit 5. I propose to incrementally remove all unused functionality from the JUnit 3 session test implementation while migrating the actual test classes to the JUnit 5 equivalent and incrementally enhancing the JUnit 5 implementation with what is required. This applies one step of that incremental removal of unused functionality in the JUnit 3 implementation of session tests.

Contributes to #903

❗This removal becomes particularly useful when also #1354 removing shared session support is applied, as in combination even more code can be removed due to conditions becoming empty.

…latform#903

The ConfigurationSessionTestSuite sorts the test methods by default. A
field identifies whether sorting is activated, but the field cannot even
be set but is always true. So, this parameterization is completely
obsolete and only introduces unnecessary complexity to the session test
framework.

Contributes to
eclipse-platform#903
Copy link
Contributor

Test Results

 1 731 files  ±0   1 731 suites  ±0   1h 25m 22s ⏱️ + 2m 6s
 4 004 tests ±0   3 982 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 609 runs  ±0  12 448 ✅ ±0  161 💤 ±0  0 ❌ ±0 

Results for commit 7163c9e. ± Comparison against base commit a2ad0b3.

@HeikoKlare HeikoKlare marked this pull request as ready for review May 12, 2024 16:23
Copy link
Contributor

@fedejeanne fedejeanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

None yet

2 participants