Skip to content

Write test method name to the UtExecution for the Sariff needs #1237

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

Merged

Conversation

amandelpie
Copy link
Collaborator

@amandelpie amandelpie commented Oct 26, 2022

Description

During the Sarif Report Generation process, it uses the unique testMethodName from UtExecution to match the report to the source code. Unfortunately, this field keeps null for many cases (if summaries are failed or not generated), but in reality, later the default test name is generated.

We decided to write this generated name to the UtExecution to reuse it during Sarif Generation Report

Fixes #1218

Type of Change

  • Refactoring (typos and non-functional changes)

@amandelpie amandelpie merged commit 27a1af8 into main Oct 27, 2022
@amandelpie amandelpie deleted the amandelpie/write_test_name_to_execution_for_sariff_needs branch October 27, 2022 08:17
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.

Incorrect related location in SARIF report
2 participants