-
-
Notifications
You must be signed in to change notification settings - Fork 2k
[JUnit Platform] Use EngineDiscoveryRequestResolver #2835
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
Draft
mpkorstanje
wants to merge
39
commits into
main
Choose a base branch
from
junit-platform-refactor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
47d345c
[JUnit Platform] Use EngineDiscoveryRequestResolver
mpkorstanje 4ea85b3
WIP
mpkorstanje bd9ac67
WIP
mpkorstanje b39764c
WIP
mpkorstanje 9440631
Merge branch 'main' into junit-platform-refactor
mpkorstanje b6ab3cb
Fix formating
mpkorstanje b78dac7
WIP
mpkorstanje 15c7221
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje c5be199
Fix
mpkorstanje 4596d74
Fix sorting
mpkorstanje 294d880
Clean up
mpkorstanje 17a2881
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje 5f2ca2f
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje 9002a1f
WIP
mpkorstanje a68cc19
Extract FeaturesPropertyResolver
mpkorstanje ac85314
Refactor tests
mpkorstanje ff5c6d7
Notes
mpkorstanje 300b405
Simplify
mpkorstanje 1a9e1a7
Move tests for tags to CucumberTestEngineTest
mpkorstanje 26b42ca
Move more tests to CucumberTestEngineTest
mpkorstanje c090dad
Make it look more like Junit
mpkorstanje 4315b80
Instantiate Configuration exactly once
mpkorstanje daa5eb4
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje a0f84f1
Warn when selectClasspathResource is incorrectly used
mpkorstanje 5c6b17e
Clean up
mpkorstanje 117e1de
Update CHANGELOG
mpkorstanje 514040e
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje abb234c
Remove unused code
mpkorstanje a54ab73
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje 9e42cae
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje cc1c3f5
Use JUnit 5.12.0-RC1
mpkorstanje 4213749
WIP
mpkorstanje a724633
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje 71fb5c7
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje ca78ceb
More WIP
mpkorstanje f84cf0c
More WIP
mpkorstanje 22b713f
More WIP
mpkorstanje 9c317a0
Merge remote-tracking branch 'origin/main' into junit-platform-refactor
mpkorstanje a63162a
Polishing
mpkorstanje File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ngine/src/main/java/io/cucumber/junit/platform/engine/AbstractCucumberTestDescriptor.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package io.cucumber.junit.platform.engine; | ||
|
||
import io.cucumber.plugin.event.Location; | ||
import org.junit.platform.engine.TestSource; | ||
import org.junit.platform.engine.UniqueId; | ||
import org.junit.platform.engine.support.descriptor.AbstractTestDescriptor; | ||
|
||
import java.net.URI; | ||
|
||
abstract class AbstractCucumberTestDescriptor extends AbstractTestDescriptor { | ||
|
||
protected AbstractCucumberTestDescriptor(UniqueId uniqueId, String displayName, TestSource source) { | ||
super(uniqueId, displayName, source); | ||
} | ||
|
||
protected abstract URI getUri(); | ||
|
||
protected abstract Location getLocation(); | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do this.