vendredi 24 mars 2017

Testing Spring Boot Starter

My question is simple.

Suppose a spring-boot-starter that defines two configurations : one will be loaded if ElasticSearch is in the classpath and the other when the same lib is missing.

  • ElasticSearch is for the sake of demonstration only

I want to test my spring-boot-starter (not into another project) to determine that both configurations work fine depending on my configuration.

Further more, I want to build a test that help maintaining coherent starter configuration (the yaml which will be used by the client application).

Aucun commentaire:

Enregistrer un commentaire