How to make undocumented SpecFlow tests fail (not be marked inconclusive) when using Jenkins and NUnit? How to make undocumented SpecFlow tests fail (not be marked inconclusive) when using Jenkins and NUnit? jenkins jenkins

How to make undocumented SpecFlow tests fail (not be marked inconclusive) when using Jenkins and NUnit?


There is a configuration option to change this behavior.

See here for the documentation. The configuration we're interested in here is missingOrPendingStepsOutcome.

The default setting is:

missingOrPendingStepsOutcome="Inconclusive"

We simply need to change (or add the setting) as follows:

missingOrPendingStepsOutcome="Error"