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

[JUnit Platform Engine] @SelectPackages not @SelectClasspathResource #2858

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

mpkorstanje
Copy link
Contributor

@mpkorstanje mpkorstanje commented Mar 8, 2024

🤔 What's changed?

@SelectClasspathResource is intended to be used for single resources whereas @SelectPackages is intended for packages containing those resources.

Currently, it doesn't matter because Cucumber is smart enough to scan everything given a directory. But we may want to change that in the future when we use JUnits EngineDiscoveryRequestResolver API (#2835).

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, documentation etc. without

SelectClasspathResource is intended to be used for single resources
whereas SelectPackages is intended for packages in those resources.

Currently, it doesn't matter because Cucumber is smart enough to
scan everything given a directory. But we may want to change
that in the future when we use JUnits EngineDiscoveryRequestResolver
API.
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.99%. Comparing base (537dccb) to head (6e7f72c).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2858   +/-   ##
=========================================
  Coverage     84.99%   84.99%           
  Complexity     2734     2734           
=========================================
  Files           331      331           
  Lines          9559     9559           
  Branches        918      918           
=========================================
  Hits           8125     8125           
  Misses         1109     1109           
  Partials        325      325           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mpkorstanje mpkorstanje merged commit 9bb4864 into main Mar 10, 2024
9 checks passed
@mpkorstanje mpkorstanje deleted the docs-select-packages-not-classpath-resources branch March 10, 2024 18:43
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

1 participant