Following Problem:
I have build pipeline that gets triggered whenever a commit to a specific branch is pushed. This pipeline will run all the unit tests before deploying the application to the productive environment.
Now sometimes members tend to forget to remove the fit statements from their tests wich will make the unit tests pretty easy to pass the pipeline even if the application has errors.
Question:
Is there a way to check if a fit statement is used and return a non-zero exit code if this is the case so I can make sure the pipeline fails
Aucun commentaire:
Enregistrer un commentaire