-
Notifications
You must be signed in to change notification settings - Fork 323
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
Fixed CC for in-process console scenarios #4084
Fixed CC for in-process console scenarios #4084
Conversation
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.
Do you have any ticket we could link this PR to?
In term of tests, it would be nice to test:
- case where token is cancelled
- case where exception is thrown
- case where
TestRequestManager
isnull
...tPlatform.Client/AttachmentsProcessing/InProcessTestRunAttachmentsProcessingEventsHandler.cs
Outdated
Show resolved
Hide resolved
...tPlatform.Client/AttachmentsProcessing/InProcessTestRunAttachmentsProcessingEventsHandler.cs
Outdated
Show resolved
Hide resolved
Yes, there's an internal ticket that we can link the PR to, will send it to you offline (and also link the PR). I agree with the last two test cases, I will write tests for them right away. The first test case though (case where the token is cancelled) is not feasible here, since the token is passed down to the |
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.
Thank you for the nice work @cvpoienaru!
In-process vstest.console wrapper didn't implement CC attachment processing methods until now. These methods were implemented based on their counterparts in the out-of-process vstest.console wrapper, as well as by using important bits-and-pieces from the translation layer (which is no longer required since in-proc console removes the need of a translation layer).