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.

Copy link
Contributor

github-actions bot commented May 10, 2024

Test Results

 1 734 files  ±0   1 734 suites  ±0   1h 21m 56s ⏱️ - 3m 53s
 3 972 tests ±0   3 950 ✅ ±0   22 💤 ±0  0 ❌ ±0 
12 513 runs  ±0  12 352 ✅ ±0  161 💤 ±0  0 ❌ ±0 

Results for commit 969aac6. ± Comparison against base commit 29d6edf.

♻️ This comment has been updated with latest results.

@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

…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
@HeikoKlare HeikoKlare force-pushed the sessiontestsuite-remove-sorted branch from 7163c9e to 969aac6 Compare July 4, 2024 15:54
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.

2 participants