Skip to content
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

Added method to look for new api in fakes datacollector #2339

Merged
merged 31 commits into from
Apr 1, 2020

Conversation

vritant24
Copy link
Member

Description

The new Fakes Implementation will need a separate data collector for handling new scenarios that support .NET Core and Netstandard.
Previously, TestWindow.Fakes and VSTest were making the same check and passing the same data collector configuration (FriendlyName, DataCollectorURi, DataCollectorAssemblyQualifiedName) to TestPlatform.Fakes. The creation of that config will be moved into TestPlatform.Fakes, and the decision to use the new data collector will also be made there, which introduces the new API.

@vritant24 vritant24 force-pushed the dev/vrbhardw/fakes_dc_update branch from bee8386 to d443bee Compare March 3, 2020 21:05
@nohwnd
Copy link
Member

nohwnd commented Mar 10, 2020

@vritant24 is this ready to merge? the changes look good to go and I approved. If you will still work on it please mark it as work in progress by prefixing the name with WIP: it makes it easier for me to see that I should not re-visit this when looking at PRs. 🙂

@vritant24
Copy link
Member Author

Thanks for the review. I haven't yet merged it because the API on the other side hasn't been finalized and could possibly change. I'll update the PR name

@vritant24 vritant24 changed the title Added method to look for new api in fakes datacollector WIP: Added method to look for new api in fakes datacollector Mar 10, 2020
….Internal.TestPlatform.Extensions" nuget pacakge. This would mean that the TP vsix would not drop this dependency any more. The Fakes vsix that builds in the VSUT repo would be dropping it instead.

For the TestPlatform tooling nuget however which ships with the Fakes dependency, I'm pulling in the latest from the vsunittesting myget feed and packaging that up.
@vritant24 vritant24 force-pushed the dev/vrbhardw/fakes_dc_update branch from 4b88eb1 to 746bc17 Compare March 20, 2020 00:12
{
if (EqtTrace.IsInfoEnabled)
{
EqtTrace.Info("Failed to create newly implemented Fakes Configurator. Reason:{0} ", ex);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this show up in test platform diagnostic logs? Its probably used in some places in this file already but eqttrace logs IIRC are enabled and viewed differently from how we enable TP diagnostic logs in general.

vritant24 and others added 13 commits March 19, 2020 19:35
….Internal.TestPlatform.Extensions" nuget pacakge. This would mean that the TP vsix would not drop this dependency any more. The Fakes vsix that builds in the VSUT repo would be dropping it instead.

For the TestPlatform tooling nuget however which ships with the Fakes dependency, I'm pulling in the latest from the vsunittesting myget feed and packaging that up.
@AbhitejJohn AbhitejJohn merged commit 97a3802 into master Apr 1, 2020
@AbhitejJohn AbhitejJohn deleted the dev/vrbhardw/fakes_dc_update branch April 1, 2020 20:37
@vritant24 vritant24 changed the title WIP: Added method to look for new api in fakes datacollector Added method to look for new api in fakes datacollector Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants