{"action":"closed","issue":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1042","repository_url":"https://api.github.com/repos/techtalk/SpecFlow","labels_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1042/labels{/name}","comments_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1042/comments","events_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/1042/events","html_url":"https://github.com/techtalk/SpecFlow/issues/1042","id":297765813,"number":1042,"title":"Report Template output name failing when using {now}","user":{"login":"liamharries","id":6272708,"avatar_url":"https://avatars2.githubusercontent.com/u/6272708?v=4","gravatar_id":"","url":"https://api.github.com/users/liamharries","html_url":"https://github.com/liamharries","followers_url":"https://api.github.com/users/liamharries/followers","following_url":"https://api.github.com/users/liamharries/following{/other_user}","gists_url":"https://api.github.com/users/liamharries/gists{/gist_id}","starred_url":"https://api.github.com/users/liamharries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamharries/subscriptions","organizations_url":"https://api.github.com/users/liamharries/orgs","repos_url":"https://api.github.com/users/liamharries/repos","events_url":"https://api.github.com/users/liamharries/events{/privacy}","received_events_url":"https://api.github.com/users/liamharries/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":"closed","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-02-16T12:12:33Z","updated_at":"2018-04-19T07:52:51Z","closed_at":"2018-04-19T07:52:51Z","author_association":"NONE","body":"The {now} parameter causes the report generation to fail.\r\n.srprofile\r\n ```\r\n <Report>\r\n    <Template name=\"Template.cshtml\" outputName=\"SpecRunReport.html\"/><!--Works-->\r\n    <Template name=\"Template.cshtml\" outputName=\"SpecRunReport2.html\"/><!--Works-->\r\n    <Template name=\"Template.cshtml\" outputName=\"SpecRunReport{unique_guid}.html\"/><!--Works-->\r\n    <Template name=\"Template.cshtml\" outputName=\"SpecRunReport{now}.html\"/><!--Fails-->\r\n  </Report>\r\n```\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- [ ]\t2.2.1\r\n \r\n### Used Test Runner \r\n- [ ] SpecFlow+Runner\r\n\r\n<!-- PLEASE INCLUDE THE VERSION NUMBER OF YOUR TEST RUNNER -->\r\nVersion number: 1.6.3\r\n\r\n\r\n### Visual Studio Version\r\n- [ ]\tVS 2017\r\n\r\n### Are the latest Visual Studio updates installed?\r\n- [ ]\tYes\r\n \r\n### .NET Framework:\r\n- [ ]\t>= .NET 4\r\n\r\n### Test Execution Method:\r\n- [ ]\tVisual Studio Test Explorer\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\napp.config\r\n<specFlow>\r\n    <!-- For additional details on SpecFlow configuration options see http://go.specflow.org/doc-config -->\r\n    <unitTestProvider name=\"SpecRun\"/>\r\n    <plugins>\r\n      <add name=\"SpecRun\"/>\r\n    </plugins>\r\n  </specFlow>\r\n```\r\n\r\n### Issue Description\r\n<!-- PLEASE PROVIDE AS MUCH INFORMATION AS POSSIBLE ON THE ISSUE -->\r\nRunning tests with the failing report commented out generates the desired reports. Including the failing report both in group and singularly fails to generate.\r\n\r\nBelow is my execution in my profile\r\n`<Execution stopAfterFailures=\"-1\"\r\n             testThreadCount=\"5\"\r\n             testSchedulingMode=\"Random\"\r\n             apartmentState=\"MTA\"\r\n             retryFor=\"Failing\"\r\n             retryCount=\"2\"/>`\r\n\r\nI am using targets to modify the configuration file as below\r\n`<Target name=\"IE_11_Windows10\">\r\n      <Filter>@AllStandard | @Desktop_All | @IE_All | @IE_11_Windows10</Filter>\r\n      <DeploymentTransformationSteps>\r\n        <RelocateConfigurationFile target=\"Thread{TestThreadId}config.config\"/>\r\n        <ConfigFileTransformation configFile=\"App.config\" >\r\n          <Transformation>\r\n            <![CDATA[<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n\t\t\t\t\t\t\t<configuration xmlns:xdt=\"http://schemas.microsoft.com/XML-Document-Transform\">\r\n                              <appSettings>\r\n                                <add key=\"browser\" value=\"internet explorer\" xdt:Locator=\"Match(key)\" xdt:Transform=\"SetAttributes(value)\" />\r\n                                <add key=\"version\" value=\"11\" xdt:Locator=\"Match(key)\" xdt:Transform=\"SetAttributes(value)\" />\r\n                                <add key=\"platform\" value=\"Windows 10\" xdt:Locator=\"Match(key)\" xdt:Transform=\"SetAttributes(value)\" />\r\n                              </appSettings>\r\n\t\t\t\t\t\t\t</configuration>\r\n\t\t\t\t\t\t]]>\r\n          </Transformation>\r\n        </ConfigFileTransformation>\r\n      </DeploymentTransformationSteps>\r\n    </Target>`\r\n"}}
{"actor":{"display_login":"SabotageAndi"}}