SpecFlow icon indicating copy to clipboard operation
SpecFlow copied to clipboard

Documentation request: how to mark a Feauture as Pending if any of its Scenarios is Pending

Open arialdomartini opened this issue 3 years ago • 0 comments

Product:

  • [x] SpecFlow
  • [x] SpecFlow+ Runner
  • [x] SpecFlow+ LivingDoc
  • [ ] SpecMap

What is missing:

When a Feature contains a Scenario which fails because of a failing Step, it is marked as Failed. On the contrary, When a Feature contains a pending Scenario, it is marked as Successful.

For some circumstances, it may makes sense to consider Pending / Incomplete a Feature, unless all of its Scenarios are successful (i.e. it contains no Pending Scenarios).

I guess that this is possible via configuration or by playing with Hooks. I found no references in the documentation, so I kindly ask you to consider covering this case.

arialdomartini avatar Nov 14 '21 14:11 arialdomartini