You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a task, where i have to migrate Junit4 test to Junit5 so, i can't use @rule anotation.
So my question is about exist any implementation about grpcServerRule in a Extension for can use GRPC in Junit5
Thank you so much
The text was updated successfully, but these errors were encountered:
Based on this https://www.arhohuttunen.com/junit-5-migration/#rules it looks like you can try using the junit-jupiter-migrationsupport module to get support for ExternalResource which is what GrpcServerRule is based off of?
I don't think gRPC will provide a more native form of test util for junit 5 than an External Resource.
This was discussed some in #5331 . GrpcServerRule is already an ExternalResource, so just use the ExternalResource support in junit 5. We will probably convert GrpcCleanupRule to extend ExternalResource for use in junit 5. The annotation approach in junit 5 seems counter to good design and I don't want to encourage environments where private fields are modified by impossible-to-discover code.
I have a task, where i have to migrate Junit4 test to Junit5 so, i can't use @rule anotation.
So my question is about exist any implementation about grpcServerRule in a Extension for can use GRPC in Junit5
Thank you so much
The text was updated successfully, but these errors were encountered: