mercredi 21 mars 2018

Are log statements in the unit tests themselves forbidden?

Are log statements in the unit tests themselves forbidden? If yes why?

@test
public void testSomething() throws Exception {
   ...
   logger.info("Response is: " + response);
   ...
}

Aucun commentaire:

Enregistrer un commentaire