While running scenarios of two different feature files I am getting following error: Initialization method ITTCustomerScenarios.Features.ValidateTheJAMCMSKULicensingFeature.TestInitialize threw exception. TechTalk.SpecFlow.SpecFlowException: TechTalk.SpecFlow.SpecFlowException: The FeatureContext.Current static accessor cannot be used in multi-threaded execution. Try injecting the feature context to the binding class. See http://go.specflow.org/doc-multithreaded for details..
Though I am able to run scenarios of different features files from visual studio but not from mstest. The command I am using for running sceanrios from command line using mstest is: mstest /testcontainer:"test.dll" /category:mytest
test1.feature @mytest Scenario: Verify login Given I visit home page ..... ......
test2.feature @mytest Scenario: Verify logout Given I visit home page ..... ......
Please suggest me how to run scenarios of different feature files from command line.