-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Milestone
Description
What version of gRPC are you using?
1.18.0
What did you expect to see?
In order to be able to test with JUnit 5 I would like to have a comparable solution like GrpcCleanupRule but as JUnit 5 extension.
Example
In my PoC project mmichaelis/poc-grpc you may see an example, which is very similar to your GrpcCleanupRule (because that was my intention 😄): In module grpc-test you will find the class GrpcTestExtension and an example usage in HelloServiceImplTest.
Help wanted?
I may assist in adding this to the grpc-java project, but there are several questions:
- First of all: Do you like the extension?
- Where to place the JUnit 5 extension? Into testing module? Or an extra module?
- And if it is an extra module: How to share code? My intention would be to refactor
GrpcCleanupRule, so thatGrpcTestExtensionand the JUnit 4 rule share as much code as possible.
mkobit, altro3, paul-pop, debop, Jouramie and 32 morexmlking
Metadata
Metadata
Assignees
Labels
No labels