I configured Specflow to configure the MsTest framework (instead of NUnit), specifying it the same way as in the app.config of my "specs" class library:
<configSections> <section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow"/> </configSections> <specFlow> <unitTestProvider name="MsTest.2010" /> </specFlow>
So, as soon as it appeared on the spot, I see that my test devices are created correctly using the special tool Specflow with the correct TestClassAttribute () and methods, etc.:
[System.CodeDom.Compiler.GeneratedCodeAttribute("TechTalk.SpecFlow", "1.3.3.0")] [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [Microsoft.VisualStudio.TestTools.UnitTesting.TestClassAttribute()] ...
A specification class is being created, but now I cannot run tests using Test β Run β All Tests in Solution inside Visual Studio 2010 in my Vista 64 window. Why doesn't VS recognize them as valid tests to run?
visual-studio-2010 bdd specflow
Timdog
source share