Unable to create Specflow file in Framework 4.6.1

I played with SpecFlow for a week now, of course, it works locally, but when I use it in a project, I cannot create any files.

enter image description here

We are using Framework 4.6.1

My dependencies look like this.

 "dependencies": {
    "dotnet-test-xunit": "1.0.0-*",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Selenium.Support": "3.0.1",
    "Selenium.WebDriver": "3.0.1",
    "Selenium.WebDriver.ChromeDriver": "2.26.0",
    "Selenium.WebDriver.Extensions": "3.0.1",
    "SpecFlow": "2.1.0",
    "SpecFlow.Assist.Dynamic": "1.2.0",
    "SpecRun.Runner": "1.5.2",
    "System.Data.SqlClient": "4.1.0",
    "System.Runtime": "4.0.20",
    "System.Runtime.InteropServices": "4.1.0",
    "System.Runtime.WindowsRuntime": "4.0.10",
    "System.Xml.XPath": "4.0.1",
    "xunit": "2.1.0",
    "xunit.core": "2.1.0",
    "xunit.runner.visualstudio": "2.1.0"
  },"testRunner": "xunit",
  "tools": {
    "SpecFlow.NetCore": "1.0.0-rc6"
  },
  "scripts": {
    "precompile": [ "dotnet SpecFlow.NetCore" ]
  },

I imported the full SpecFlow test, which is actually displayed in Test Explorer. But it would be much smoother if it were possible from a pipe.

Any ideas? We use VSTF

+4
source share

Source: https://habr.com/ru/post/1666376/


All Articles