Specflow with Visual Studio express

前端 未结 3 1150
余生分开走
余生分开走 2021-01-04 23:13

I have used Specflow in Visual Studio 2010 Pro at work but would like to use it on my personal projects. Unfortunately I only have VS210 Express.

I have not managed

3条回答
  •  长情又很酷
    2021-01-04 23:28

    The main idea is: SpecFlow generates fixtures for one of the common Unit-Test-Frameworks. More information you can find here.

    I suppose that you loose some Item templates that appear in the Visual Studio Professional but disappear for Visual Studio Express versions. To overcome this problem you should take all templates files from SpecFlow application folder on computer where you have Professional version installed. On my computer it is located here:

    C:\Program Files (x86)\TechTalk\SpecFlow\ItemTemplates
    

    There should be the files like: SpecFlowFeature.zip and etc, all with *.zip extension. Then you should copy its to your computer for this place:

    C:\Users\[User name]\Documents\Visual Studio 2010\Templates\ItemTemplates\Visual C#
    

    And finally, open Microsoft Visual C# 2010 Express. Create console application, for example. And choose Project -> Add new item. There is only possible to open these templates with Microsoft Visual C# 2010 Express. Because inside template files it was defined that templates could be open only with C# project type.

提交回复
热议问题