Specflow bypasses subsequent scenarios after a failure -


all scenarios supposed but, until now, had 1.

now have second scenario, following problem arises.

if scenario 1 fails assertion, subsequent scenarios skipped.

see below skipped scenarios.

setup: configfiletransformation (thread #0) scenario: shows telephone numbers on header in showcontactinformation     (target: browserbrowserstack_win8_chrome_52) -> succeeded on thread #0 scenario: shows telephone numbers on contact sidebar box in     showcontactinformation (target: browserbrowserstack_win8_chrome_52)     -> failed on thread #0     [error] 2 assertions failed. restore: configfiletransformation (thread #0) scenario: shows telephone numbers on header in showcontactinformation     (target: browserbrowserstack_win8_firefox_42)     -> skipped on thread #-1 scenario: shows telephone numbers on contact sidebar box in     showcontactinformation     (target: browserbrowserstack_win8_firefox_42)     -> skipped on thread #-1 result: 1 failed   total: 4   succeeded: 1   ignored: 0   pending: 0   skipped: 2 <--- **** other scenarios must executed regardless of else.   failed: 1 

how prevent specflow skipping subsequent scenarios?

updated execution element of test profile to:

<execution retryfor="none" stopafterfailures="0" testthreadcount="1" testschedulingmode="sequential" /> 

the key thing seems stopafterfailures="0".


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -