Skip to content

Brainstorm on ideas for more AzDO extensions in MTP #5951

Description

@Youssef1313

Summary

The NuGet package Microsoft.TeamFoundationServer.Client contains Microsoft.VisualStudio.Services.TestResults.WebApi.dll which contains TestResultsHttpClient (it's public API). This class contains all the important pieces for publishing test results. There may be other classes that we could make a good use of.

Proposed Feature

This is still "brainstorming" phase, nothing concrete yet. But:

  • We could provide an extension to publish test results as tests are running, without the need for TRX, and without needing to wait to the end of the test run.
  • We could query history on test failures, and maybe publish the test in a special way to indicate it's flaky, and how many times it failed over a month, etc.

Side note: See Roslyn for how to do the authentication. It's simply just reading SYSTEM_ACCESSTOKEN and SYSTEM_COLLECTIONURI env variables and use them to create VssConnection.

We could also see if there is any test plan related stuff in this package and whether we could use this package to support this in MTP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/mtpMicrosoft.Testing.Platform core library.needs/designNeeds design / proposal before implementation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions