-
Notifications
You must be signed in to change notification settings - Fork 13
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
Use JUnit 5 and remove JUnit 4 API dependencies #64
base: main
Are you sure you want to change the base?
Conversation
@marcphilipp @britter can you pls check if the direction is sensible? |
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.
I think we should consider offering a more gradual migration path from JUnit 4 to 5. We could deprecate the Runner
implementation and the old annotations for now and use the same execution logic behind the scenes. WDYT?
} | ||
|
||
@Override | ||
public TestDescriptor discover(EngineDiscoveryRequest discoveryRequest, UniqueId uniqueId) { |
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.
Discovery should also support UniqueIdSelectors
and use EngineDiscoveryRequestResolver
for de-duplication.
Function<CommandExecutorParams, CommandExecutor> commandExecutorFunction, List<? extends OutputNormalizer> normalizers, | ||
List<SampleModifier> sampleModifiers | ||
) { | ||
super(uniqueId, sample.getId()); |
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.
We should pass a FileSource
here so that one can navigate to the source in IDEs.
} | ||
|
||
@Override | ||
public void execute(ExecutionRequest request) { |
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.
Extending HierarchicalTestEngine
would allow to move the execution logic to the TestDescriptor
.
d62586d
to
a9fcbe6
Compare
makes perfect sense |
a9fcbe6
to
0f85578
Compare
No description provided.