-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testhost sharing between discovery & execution #2687
Testhost sharing between discovery & execution #2687
Conversation
Made it a draft because you said it is still work in progress. 🙂 |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
I am missing those new tests for this functionality that you mentioned. There are few edits in tests files, but I don't see any new tests. |
@nohwnd, the new tests are not committed yet, I have them on my local machine. Will do the commit once I have full test coverage, but it may take a while since writing comprehensive tests is a tedious endeavor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partially reviewed, cause the change is big.
Will do rest of later :)
src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyDiscoveryManager.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyExecutionManager.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/TestSession/ProxyTestSessionManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/TestSession/ProxyTestSessionManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/TestSession/ProxyTestSessionManager.cs
Show resolved
Hide resolved
Oh okay, I thought you just marked it as ready to review. But it was few days ago. Ping me when ready pls. |
@nohwnd now the tests are finally ready ... It's been a while but better late than never 😄 |
src/Microsoft.TestPlatform.Common/Interfaces/Engine/ClientProtocol/IProxyTestSessionManager.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.CrossPlatEngine/Client/ProxyDiscoveryManager.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.ObjectModel/Client/DiscoveryCriteria.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.TestPlatform.ObjectModel/Client/Interfaces/ITestPlatform.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/Interfaces/ITestSession.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/VsTestConsoleWrapper.cs
Show resolved
Hide resolved
src/Microsoft.TestPlatform.VsTestConsole.TranslationLayer/VsTestConsoleWrapper.cs
Show resolved
Hide resolved
To solve those conflicts, you are probably just best of just grabbing all from master, and letting Roslyn analyzers to show you the compilation errors, I see you have few apis added to unshipped, and 1 changed in shipped (is that intentional?) Unless there are differences per TFM, the change should go into the files that are directly in the PublicAPI folder, because that file is common api for all tfms. If there is difference between netstandard1.0 and others, it should go to the file in |
If you need more help merging this, let me know. |
Thanks for the suggestion, @nohwnd, that's exactly what I did and it worked better than actually trying to solve the conflicts by 3-way merge. I also moved the unshipped APIs for each TFM in the unshipped file in the Yes, the change in the shipped file is intentional. I have actually changed that API but it should be ok. Even though it's a public API it's not been publicly announced and I'm almost certain that no one uses it. On top of that it's in Btw, can you please approve the change if you find it acceptable ? For merging I also need your approval as a code owner for the PublicAPI part :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, with some comments.
Testhost sharing between discovery & execution.
Known issues:
Follow ups: