Skip to content

Use VSTest (TRX) result and attach diff snapshot files#2990

Merged
corinagum merged 4 commits intomasterfrom
feat-trx-result
Mar 9, 2020
Merged

Use VSTest (TRX) result and attach diff snapshot files#2990
corinagum merged 4 commits intomasterfrom
feat-trx-result

Conversation

@compulim
Copy link
Copy Markdown
Contributor

@compulim compulim commented Mar 7, 2020

This PR branch is under microsoft because we need to test it in VSTS. We can't test fork on VSTS.

Fixes #2897.

Changelog Entry

Added

  • Resolves #2897. Moved from JUnit to VSTest reporter with file attachments, by @compulim in PR #2990

Description

Today, we use a custom service, namely webchat-curator, to store our snapshots.

Since Azure DevOps support file attachment for test result, we can move away from our custom service and use Azure DevOps.

We need to move from JUnit reporter to VSTest/TRX reporter, and add custom code to inject the snapshot file.

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=yaml#attachments-support

image

Specific Changes

  • Use jest-trx-results-processor
  • Configure the TRX processor to emit <FileResults>
  • After merging this PR, we need to update Azure DevOps

  • Testing Added
    • No tests added, can't automate testing for infrastructure

@corinagum
Copy link
Copy Markdown
Contributor

Build succeeded on Azure... merging.

@corinagum corinagum merged commit 0b0dfe8 into master Mar 9, 2020
@compulim compulim deleted the feat-trx-result branch April 3, 2020 13:51
@compulim compulim mentioned this pull request May 15, 2020
34 tasks
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.

Test: Attaching snapshot diff as attachment on VSTS

3 participants