Built-in SARIF reports visualizer by mmvpm · Pull Request #1166 · UnitTestBot/UTBotJava · GitHub
Skip to content

Built-in SARIF reports visualizer#1166

Merged
mmvpm merged 5 commits intomainfrom
ideaseeker/utbot_instpection_tool_rd
Oct 19, 2022
Merged

Built-in SARIF reports visualizer#1166
mmvpm merged 5 commits intomainfrom
ideaseeker/utbot_instpection_tool_rd

Conversation

@mmvpm
Copy link
Copy Markdown
Collaborator

@mmvpm mmvpm commented Oct 17, 2022

Description

The SARIF report visualizer built into the IDEA plugin

All errors detected by UnitTestBot are displayed in the "Problems" tool window automatically after the test is generated:

image

The user can view the generated test for each error:

image

The user can also analyze the stack trace of the exception:

image

Fixes #972

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual Scenario

  1. Run UTBot test generation on your Java project
  2. If errors have been detected (the SARIF report contains at least one) the "Problems" tool window will be automatically opened. If not, "Problems" tab will not be opened.
  3. For each problem the user has an opportunity to view the generated test and analyze the stack trace
  4. Double click on the problem navigates the user to the place in the source code where this problem was detected

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@mmvpm mmvpm self-assigned this Oct 17, 2022
@alisevych
Copy link
Copy Markdown
Member

alisevych commented Oct 17, 2022

@alisevych
Copy link
Copy Markdown
Member

alisevych commented Oct 17, 2022

@mmvpm mmvpm force-pushed the ideaseeker/utbot_instpection_tool_rd branch from 7aea587 to 69303b5 Compare October 19, 2022 07:55
@mmvpm mmvpm force-pushed the ideaseeker/utbot_instpection_tool_rd branch from 69303b5 to bbc1766 Compare October 19, 2022 07:56
@mmvpm mmvpm enabled auto-merge (squash) October 19, 2022 07:57
@mmvpm mmvpm merged commit 0a3d74c into main Oct 19, 2022
@mmvpm mmvpm deleted the ideaseeker/utbot_instpection_tool_rd branch October 19, 2022 09:23
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.

Create a built-in SARIF reports visualizer

4 participants