There seems to be a hole in the ability to tests a SpringFlux application at the controller level without loading up the cosmos context. Ie i just want to test my controller without connecting cosmos
As i would expect to be able to do the following without the cosmos repo being loaded in. As all classes with the @Repository should be ignored.
There seems to be a hole in the ability to tests a SpringFlux application at the controller level without loading up the cosmos context. Ie i just want to test my controller without connecting cosmos
As i would expect to be able to do the following without the cosmos repo being loaded in. As all classes with the
@Repository
should be ignored.However doing this leads to bean failures in AbstractCosmosConfiguration
It seems there are a couple of issues preventing me from creating a unit tests ,
Maybe i am missing something or have done something wrong, but there is no documentation testing.
For context by config is
And my repo is