vic
vic

Reputation: 227

Specflow - How to Make Pending test to not fail the whole test

Hi I'm using specflow for automating my Web test . From last few days i m getting Pending tests make the whole test in a fail mode rather then Making it pass. Previously it was passing the test suite if one or 2 pending tests found but from last week i m encountering issue like it is not passing the tests.

Can some one pls tell me how to make tests to be pass if Pending ?

Upvotes: 2

Views: 663

Answers (1)

a3.14_Infinity
a3.14_Infinity

Reputation: 5843

You can set Ignore for 'missingOrPendingStepsOutcome' attribute and try.

<specflow> 
....
....
<runtime 
      stopAtFirstError="false"
      missingOrPendingStepsOutcome="Ignore" />
....    
</specflow>

Courtesy: Configuration in SpecFlow

Upvotes: 2

Related Questions