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

VSTest starts work unpredictable after adding TfsPublisher #1739

Closed
vbondaryuk opened this issue Aug 17, 2018 · 4 comments
Closed

VSTest starts work unpredictable after adding TfsPublisher #1739

vbondaryuk opened this issue Aug 17, 2018 · 4 comments

Comments

@vbondaryuk
Copy link

vbondaryuk commented Aug 17, 2018

Description

We found out strange behavior after adding TfsPublisher logger to our project.
For one of our business cases we implemented custom logger. This logger uses without coping to extension folder, just add --TestAdapterPath. It works correctly.

But now we try to add TfsPublisher we found out some issues:

  • can't use some of new futures vstest for example: --ResultsDirectory, moreover no one argument does not work if call it with --
  • custom logger does not work (Could not find a test logger with AssemblyQualifiedName, URI or FriendlyName). Argument --TestAdapterPathsets, but does not work.
  • vstest version was decrised(15.7.2 => 15.0.27617.1)

Moreover if try to add TfsPublisher like --logger:TfsPublisher instead of /Logger:TfsPublisher vstest does not find it.

@singhsarab
Copy link
Contributor

@vbondaryuk This is a known issue.
TfsPublisher is not supported with new TestPlatform.

If TfsPublisher is opted like /logger:TfsPublisher, it fallbacks to older TestPlatform which does not have the new features.

/cc: @pvlakshm @cltshivash @smadala @mayankbansal018

@singhsarab singhsarab added the bug label Aug 21, 2018
@vbondaryuk
Copy link
Author

@singhsarab Thank you for your response.

Will it be fixed in future?

Since TfsPublisher is not supported with new TestPlatform is there any possibilities to publish test results to Tfs without usage of TfsPubliser?

If yes, could you provide any examples?

@singhsarab
Copy link
Contributor

@vbondaryuk TfsPublisher is only used to publish results against XAML builds. With most of our customers on or moving to new build system, highly unlikely we would be investing here.

We have had no asks for new Test platform to support this. In next major release, we would not be supporting via fallback scenario as well.

Given that, the general guidance from our side to write a custom logger to achieve that. For example, https://github.com/spekt/appveyor.testlogger

@singhsarab
Copy link
Contributor

@vbondaryuk Please let us know if you have any concerns.
If you don't, I will go ahead and close the issue.

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

No branches or pull requests

2 participants