Hi Support Team,
I currently have an issue with failing unit test. Therefore I changed the Stage Gate Options to treat up to three failed unit tests as OK ("enter next stage if amount of errors is “less or equal 3”).
The next stage is not entered because the UnitTest Action fails. I need to wrap it with try / except in order to get the next stage entered.
I think this should be fixed because otherwise the Stage Gate Options are senseless.
Best regards
Michael
Which unit test action are you using? The unit test actions typically have an option to “fail if tests error”, you can turn that off to stop the action failing the build.
Hi Vincent,
You’re right. I was sure to have the check mark removed for “Fail action if any tests Fail”. A couple of times I have had such ‘unsaved’ changes (sure to have added an action and after the next build I saw that the config was like before).
Usually I press ‘Save All Stages’. I probably missed to additionally press one of the two ‘Save Wizard’ Buttons before leaving the configuration area.
Best regards
Michael