{"action":"created","issue":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1074","repository_url":"https://api.github.com/repos/techtalk/SpecFlow","labels_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1074/comments","events_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1074/events","html_url":"https://github.com/techtalk/SpecFlow/issues/1074","id":304950505,"number":1074,"title":"Unable to run a test in the command line filtered by Scenario","user":{"login":"jbernhardt23","id":11378830,"avatar_url":"https://avatars1.githubusercontent.com/u/11378830?v=4","gravatar_id":"","url":"https://api.github.com/users/jbernhardt23","html_url":"https://github.com/jbernhardt23","followers_url":"https://api.github.com/users/jbernhardt23/followers","following_url":"https://api.github.com/users/jbernhardt23/following{/other_user}","gists_url":"https://api.github.com/users/jbernhardt23/gists{/gist_id}","starred_url":"https://api.github.com/users/jbernhardt23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbernhardt23/subscriptions","organizations_url":"https://api.github.com/users/jbernhardt23/orgs","repos_url":"https://api.github.com/users/jbernhardt23/repos","events_url":"https://api.github.com/users/jbernhardt23/events{/privacy}","received_events_url":"https://api.github.com/users/jbernhardt23/received_events","type":"User","site_admin":false},"labels":[{"id":206108270,"url":"https://api.github.com/repos/techtalk/SpecFlow/labels/SpecFlow+","name":"SpecFlow+","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"SabotageAndi","id":859801,"avatar_url":"https://avatars0.githubusercontent.com/u/859801?v=4","gravatar_id":"","url":"https://api.github.com/users/SabotageAndi","html_url":"https://github.com/SabotageAndi","followers_url":"https://api.github.com/users/SabotageAndi/followers","following_url":"https://api.github.com/users/SabotageAndi/following{/other_user}","gists_url":"https://api.github.com/users/SabotageAndi/gists{/gist_id}","starred_url":"https://api.github.com/users/SabotageAndi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SabotageAndi/subscriptions","organizations_url":"https://api.github.com/users/SabotageAndi/orgs","repos_url":"https://api.github.com/users/SabotageAndi/repos","events_url":"https://api.github.com/users/SabotageAndi/events{/privacy}","received_events_url":"https://api.github.com/users/SabotageAndi/received_events","type":"User","site_admin":false},"assignees":[{"login":"SabotageAndi","id":859801,"avatar_url":"https://avatars0.githubusercontent.com/u/859801?v=4","gravatar_id":"","url":"https://api.github.com/users/SabotageAndi","html_url":"https://github.com/SabotageAndi","followers_url":"https://api.github.com/users/SabotageAndi/followers","following_url":"https://api.github.com/users/SabotageAndi/following{/other_user}","gists_url":"https://api.github.com/users/SabotageAndi/gists{/gist_id}","starred_url":"https://api.github.com/users/SabotageAndi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SabotageAndi/subscriptions","organizations_url":"https://api.github.com/users/SabotageAndi/orgs","repos_url":"https://api.github.com/users/SabotageAndi/repos","events_url":"https://api.github.com/users/SabotageAndi/events{/privacy}","received_events_url":"https://api.github.com/users/SabotageAndi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-03-13T21:57:05Z","updated_at":"2018-03-27T11:10:50Z","closed_at":null,"author_association":"NONE","body":"<!-- PLEASE GIVE YOUR ISSUE A SENSIBLE NAME. This makes it easier to identify issues at a glance -->\r\nUnable to  run a test in the command line filtered by Scenario name containing spaces. \r\n``` \r\n\\filter:\r\n```\r\n<!-- PLEASE CHECK THE OPTIONS THAT APPLY TO YOU BY ADDING AN 'x' TO THE CORRESPONDING CHECKBOX ('[ ]') -->\r\n### SpecFlow Version:\r\n 2.3.1\r\n\r\n### Used Test Runner :\r\nSpecFlow+Runner\r\n<!-- PLEASE INCLUDE THE VERSION NUMBER OF YOUR TEST RUNNER -->\r\n### Version number:\r\n1.7.0\r\n\r\n### Visual Studio Version\r\nVS 2017\r\n\r\n### Are the latest Visual Studio updates installed?\r\nYes\r\n \r\n### .NET Framework:\r\n>= .NET 4\r\n\r\n### Test Execution Method:\r\nCommand line \r\n \r\n### &lt;SpecFlow> Section in app.config\r\n<!-- PLEASE COPY THE ENTRIE <SpecFlow> SECTION IN YOUR .config FILE AND PASTE IT BETWEEN THE TWO CODE MARKERS (```) BELOW -->\r\n```\r\n\r\n<specFlow>\r\n    <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config -->\r\n  <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config --><!-- use unit test provider SpecRun+NUnit or SpecRun+MsTest for being able to execute the tests with SpecRun and another provider --><unitTestProvider name=\"SpecRun\" /><plugins>\r\n      <add name=\"SpecRun\" />\r\n    </plugins><!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config --></specFlow></configuration>\r\n\r\n```\r\n\r\n### Issue Description\r\n<!-- PLEASE PROVIDE AS MUCH INFORMATION AS POSSIBLE ON THE ISSUE -->\r\nI'm trying to run a test via the command line using the filters provided in doc.  The command is the following:\r\n``` \r\nSpecRun.exe run c:\\MyAssemblyPath /basefolder:c:\\MyProjectFolder /filter:testpath:\"Scenario:My Scenario Test\"\r\n```\r\nIm getting an error: Invalid filter expression syntax. \r\n\r\nIf I use the same command with a Scenario that does not contains spaces in between it does works.\r\n``` \r\nSpecRun.exe run c:\\MyAssemblyPath /basefolder:c:\\MyProjectFolder /filter:testpath:\"Scenario:MyScenarioTest\"\r\n```\r\n I have tried several ways to escape the spaces, but keep getting an error. Is there an alternative for scenario names that contains spaces?\r\n"},"comment":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/comments/376486568","html_url":"https://github.com/techtalk/SpecFlow/issues/1074#issuecomment-376486568","issue_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1074","id":376486568,"user":{"login":"SabotageAndi","id":859801,"avatar_url":"https://avatars0.githubusercontent.com/u/859801?v=4","gravatar_id":"","url":"https://api.github.com/users/SabotageAndi","html_url":"https://github.com/SabotageAndi","followers_url":"https://api.github.com/users/SabotageAndi/followers","following_url":"https://api.github.com/users/SabotageAndi/following{/other_user}","gists_url":"https://api.github.com/users/SabotageAndi/gists{/gist_id}","starred_url":"https://api.github.com/users/SabotageAndi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SabotageAndi/subscriptions","organizations_url":"https://api.github.com/users/SabotageAndi/orgs","repos_url":"https://api.github.com/users/SabotageAndi/repos","events_url":"https://api.github.com/users/SabotageAndi/events{/privacy}","received_events_url":"https://api.github.com/users/SabotageAndi/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T11:10:50Z","updated_at":"2018-03-27T11:10:50Z","author_association":"COLLABORATOR","body":"I looked at this and I forgot like that you have to replace the spaces with +.\r\nSo the correct call is:\r\n\r\nSpecRun.exe run c:\\MyAssemblyPath /basefolder:c:\\MyProjectFolder /filter:\"testpath:Scenario:My+Scenario+Test\""}}
{"actor":{"display_login":"SabotageAndi"}}