-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Issue description
I'm trying to write some integration tests using Cucumber for a Micronaut gRPC application. Micronaut successfully launches its embedded gRPC server when run from the command line (java -jar ...). The embedded gRPC server starts when a unit test with the @MicronautTest annotation is run (mvn install). However, when the Cucumber tests are run from the command line (mvn verify), Micronaut starts, but not the embedded gRPC server.
As a result the integration test gets an "UNAVAILABLE" gRPC error because there's nothing for the client in the integration test to connect to.
I've used modified information from Cucumber with Micronaut to integrate the two utilities.
There is a cucumber-micronaut-bean-failure repo with the code. See the README for details on running the integration (Cucumber) and unit tests.