payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/formulahendry/vscode-dotnet-test-explorer/issues/216","repository_url":"https://api.github.com/repos/formulahendry/vscode-dotnet-test-explorer","labels_url":"https://api.github.com/repos/formulahendry/vscode-dotnet-test-explorer/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/formulahendry/vscode-dotnet-test-explorer/issues/216/comments","events_url":"https://api.github.com/repos/formulahendry/vscode-dotnet-test-explorer/issues/216/events","html_url":"https://github.com/formulahendry/vscode-dotnet-test-explorer/issues/216","id":445485104,"node_id":"MDU6SXNzdWU0NDU0ODUxMDQ=","number":216,"title":"[Enhancement] AutoWatch - Run modified tests instead of all tests","user":{"login":"AlexTeixeira","id":6555080,"node_id":"MDQ6VXNlcjY1NTUwODA=","avatar_url":"https://avatars2.githubusercontent.com/u/6555080?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexTeixeira","html_url":"https://github.com/AlexTeixeira","followers_url":"https://api.github.com/users/AlexTeixeira/followers","following_url":"https://api.github.com/users/AlexTeixeira/following{/other_user}","gists_url":"https://api.github.com/users/AlexTeixeira/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexTeixeira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexTeixeira/subscriptions","organizations_url":"https://api.github.com/users/AlexTeixeira/orgs","repos_url":"https://api.github.com/users/AlexTeixeira/repos","events_url":"https://api.github.com/users/AlexTeixeira/events{/privacy}","received_events_url":"https://api.github.com/users/AlexTeixeira/received_events","type":"User","site_admin":false},"labels":[{"id":994349640,"node_id":"MDU6TGFiZWw5OTQzNDk2NDA=","url":"https://api.github.com/repos/formulahendry/vscode-dotnet-test-explorer/labels/Waiting%20for%20CLI%20support","name":"Waiting for CLI support","color":"ee87f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-17T14:59:48Z","updated_at":"2019-05-18T07:05:31Z","closed_at":"2019-05-18T07:05:31Z","author_association":"NONE","body":"Hi,\r\n\r\n### Current Behavior\r\n\r\nCurrenlty **AutoWatch** works good, but I think some improvements can be done.\r\n\r\nWhen you save a file, all founds projects are rerun with the command **dotnet test**\r\n\r\nBut if I run the tests from the play button : \r\n\r\n![image](https://user-images.githubusercontent.com/6555080/57935958-371b4280-78c3-11e9-9516-a5e0cd0bc3e9.png)\r\n\r\nIt add a filter to the command : \r\n`\r\n--filter \"FullyQualifiedName~Project.Namespace.UserService_Test\"`\r\n\r\n### Expected Behavior \r\n\r\n**Scenario:** Developer was updating one or multiples test\r\n**Given:** I save the changes made in appropriated files\r\n**Then:** Plugin should run only the modified tests\r\n\r\n**Exemple :** \r\n\r\n- I update the tests **User_WantTobeCalled_ShouldHaveNumberPhone** and **Order_AddItem_ShouldhaveNewItem**\r\n- I save the files **UserTest** and **OrderTest**\r\n- Only **User_WantTobeCalled_ShouldHaveNumberPhone** and **Order_AddItem_ShouldhaveNewItem** should run \r\n\r\nThis will improve tests feedback and avoid CPU overhead on running tests multiple times.\r\n\r\nI think this features can be split in two steps.\r\n\r\n### First Step\r\n\r\nUpdate the whole files instead of the updated tests. Plugin should be able to detect the updated files and add it in **dotnet test --filter**\r\n\r\n### Second Step\r\n\r\nTry to get the modified test to run only the tests instead of the whole class under the file that was updated. \r\nI think this one is quite more difficult to achieve.\r\n\r\nCurrently, I don't have enough time to have a look to this feature. But I think it can be a good enhancement.\r\n\r\n"}}
other: {"actor":{"display_login":"stefanforsberg"}}