Test Explorer中的測試方案與我的V / S項目中的方案不同。
Feels like the generation of the code behind is not working correctly. Specflow creates
.cs file for each
.feature file. This .cs file contains the "real" testcode that is found by the test-explorer. Each should be regenerated on each save, rebuild.
We had to set the option "specflowsinglefilegenerator" to true. Suggest you try the options in the following two pages:
Alternatively, delete the generated .cs files and rebuild your project.