As suggested around microsoft/vscode#227924 (comment), I think it would be a great feature if coverage could be run incrementally. So while developing, we could select that option and it would store the coverage for each leaf test node and sum them afterwards. So if we want to add a new test and make sure "that new line" got coverage without adding new missed ones, we could do that faster than running coverage for all tests.
I'm not sure if there is anything the VM would need to change for this to happen but I don't suspect so. That would also allow us to run tests in parallel and simply aggregate the results at the end.
CC @liamappelbe @DanTup
As suggested around microsoft/vscode#227924 (comment), I think it would be a great feature if coverage could be run incrementally. So while developing, we could select that option and it would store the coverage for each leaf test node and sum them afterwards. So if we want to add a new test and make sure "that new line" got coverage without adding new missed ones, we could do that faster than running coverage for all tests.
I'm not sure if there is anything the VM would need to change for this to happen but I don't suspect so. That would also allow us to run tests in parallel and simply aggregate the results at the end.
CC @liamappelbe @DanTup