{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/UnitTestBoilerplateGenerator/issues/42","repository_url":"https://api.github.com/repos/Microsoft/UnitTestBoilerplateGenerator","labels_url":"https://api.github.com/repos/Microsoft/UnitTestBoilerplateGenerator/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/UnitTestBoilerplateGenerator/issues/42/comments","events_url":"https://api.github.com/repos/Microsoft/UnitTestBoilerplateGenerator/issues/42/events","html_url":"https://github.com/Microsoft/UnitTestBoilerplateGenerator/issues/42","id":387148960,"node_id":"MDU6SXNzdWUzODcxNDg5NjA=","number":42,"title":"Customize TestMethods template","user":{"login":"MilesLin","id":6435369,"node_id":"MDQ6VXNlcjY0MzUzNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/6435369?v=4","gravatar_id":"","url":"https://api.github.com/users/MilesLin","html_url":"https://github.com/MilesLin","followers_url":"https://api.github.com/users/MilesLin/followers","following_url":"https://api.github.com/users/MilesLin/following{/other_user}","gists_url":"https://api.github.com/users/MilesLin/gists{/gist_id}","starred_url":"https://api.github.com/users/MilesLin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MilesLin/subscriptions","organizations_url":"https://api.github.com/users/MilesLin/orgs","repos_url":"https://api.github.com/users/MilesLin/repos","events_url":"https://api.github.com/users/MilesLin/events{/privacy}","received_events_url":"https://api.github.com/users/MilesLin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-04T07:09:45Z","updated_at":"2018-12-07T07:44:30Z","closed_at":"2018-12-07T07:44:30Z","author_association":"NONE","body":"### Installed product versions\r\n- Visual Studio: 2017 15.9.2 Professional\r\n- This extension: 1.9.12\r\n\r\n### Description\r\nI'm using xUnit and NSubstitute to create unit tests.  Is possible to define my own $TestMethods$ variable? \r\n\r\n### Current behavior\r\nCurrent TestMethods will generate the code below.  It always compiles failed on *TODO* and *Assert.Fail()*, it kind of annoying for me\r\n```\r\n        [Fact]\r\n        public void Post_StateUnderTest_ExpectedBehavior()\r\n        {\r\n            // Arrange\r\n            var unitUnderTest = CreateValuesController();\r\n            string value = TODO;\r\n\r\n            // Act\r\n            unitUnderTest.Post(\r\n                value);\r\n\r\n            // Assert\r\n            Assert.Fail();\r\n        }\r\n```\r\n\r\n### Expected behavior\r\nI will expect to generate the code below.  No compile error.\r\n````\r\n        [Fact]\r\n        public void Post_StateUnderTest_ExpectedBehavior()\r\n        {\r\n            // Arrange\r\n            var unitUnderTest = CreateValuesController();\r\n            string value = \"\";\r\n\r\n            // Act\r\n            unitUnderTest.Post(\r\n                value);\r\n\r\n            // Assert\r\n            Assert.True(false, \"Not Implement\");\r\n        }\r\n```\r\n\r\nMiles regards."}}
{"actor":{"display_login":"RandomEngy"}}