0
我在一臺PC上使用Visual Studio 2012 Ultimate,並在另一臺PC上使用Visual Studio 2012 Premium。正確的MsTest版本在App.Config中與Specflow v1.9一起使用
爲了正確運行Specflow V1.9其MSTEST版本,我應該在app.config文件中指定:
- MSTEST
- MsTest.2010 或
- MsTest.2012
例如:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow" />
</configSections>
<specFlow>
<unitTestProvider name="MsTest.2010" />
</specFlow>
</configuration>