Skip to content

Built-in SARIF reports visualizer #1023

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

Closed
wants to merge 10 commits into from
Closed

Conversation

mmvpm
Copy link
Collaborator

@mmvpm mmvpm commented Sep 28, 2022

Description

The SARIF report visualizer built into the IDEA plugin

All errors detected by UTBot 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 Sep 28, 2022
@Vassiliy-Kudryashov
Copy link
Member

Please replace all displayable "UTBot" with "UnitTestBot"

@mmvpm mmvpm force-pushed the ideaseeker/utbot_inspection_tool branch from ea2883f to 8005547 Compare October 10, 2022 17:21
@mmvpm mmvpm closed this Oct 17, 2022
@mmvpm mmvpm deleted the ideaseeker/utbot_inspection_tool branch October 19, 2022 08:16
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
2 participants