Do not stop a workflow containing several unit tests if one is missing in the Git repository
Feedback from a customer:
le workflow s'arrête complétement quand un script est non présent dans le dépôt de code source :
Erreur indiquée : No tests matching pattern "nom_script#run" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.)
Où ajouter le -Dsurefire.failIfNoSpecifiedTests=false ?
We need to see if we can avoid this: run all the existing tests, report them as success/failure, and report the missing ones as blocked.
The option may be https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#failIfNoSpecifiedTests or something else…