vendredi 2 juin 2017

Testing service component in an isolation enviorment

We have a CI/CD in which on the first layer of testing is the service component layer. In this layer we want just to check our given component with some functional tests being done and mocks being used. We now have a new functionality. This makes us install all component around us as we cannot write mocks for such an action (we are calling some SOLR inserts that checks if we got http 409 from SOLR, and if so we need to make sure how we react.

Is this normal? Do we need to try and mock this as well?

Aucun commentaire:

Enregistrer un commentaire