Hello,
NUnit runners in Resharper as well as in team city seem to be smart enough to figure out a special return type from the spec flow framework when steps have not been implemented yet for certain features. These will be displayed as inconclusive (the same level as ignored) in the reports. The scaffolding creating the bindings files emits code that puts a
ScenarioContext.Current.Pending();
into the unimplemented methods. I was wondering if I could have the tests showed up in a different way (like ignored for instance) by ncrunch too?
Thank You,
Martin
NCrunch itself doesn't have direct support for inconclusive tests, even though many of the frameworks it integrates with do have this feature.
This is done for purposes of simplicity. Inconclusive tests would require the engine to have a whole new state representing them including different coloured coverage markers, adjusted aggregation, etc. The existence of this third state would cast doubt around the behaviour of many areas of the engine and make the behaviour of the tool much harder to understand.
NCrunch has a configuration option where you can choose its behaviour when working with inconclusive tests - http://www.ncrunch.net/documentation/reference_project-configuration_consider-inconclusive-tests-as-passing. This allows you to describe to the engine whether you wish to consider these tests as something that requires action on the part of the developer (i.e. failing, the default), or something that is benign and doesn't require attention (passing).
Hey Remco,
That all makes perfect sense, so for my use case the link you provided is going to be enough.
Thank You for your fast reply, I really dig the speed of your forum replies!