Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run Specflow tests one after another NOT parallel

I am running C# specflow tests from visual studio. When I run I am seeing tests are getting executed parallel. How can I make them to run one after another ? I am attaching snapshot which shows in cyan highlighted. I am looking a way to run them one after another. I am using Specflow.AssistDynamic and Techtalk.Specflowenter image description here

like image 852
msbyuva Avatar asked Oct 23 '25 10:10

msbyuva


1 Answers

I am able to do this by adding a property to AssemblyInfo.cs

[assembly: CollectionBehavior(DisableTestParallelization = true)]

like image 171
msbyuva Avatar answered Oct 26 '25 00:10

msbyuva



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!