Skip to content
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

Incorrect test file path in SARIF report #1216

Closed
mmvpm opened this issue Oct 24, 2022 · 0 comments · Fixed by #1223
Closed

Incorrect test file path in SARIF report #1216

mmvpm opened this issue Oct 24, 2022 · 0 comments · Fixed by #1223
Assignees
Labels
ctg-bug Issue is a bug

Comments

@mmvpm
Copy link
Collaborator

mmvpm commented Oct 24, 2022

Description

The wrong path to the test file is found in the SARIF report when we generate tests for several classes:

image

(RandomUsageTest.java instead of ExampleTest.java)

To Reproduce

Steps to reproduce the behavior:

  1. Run the any project in IntelliJ Idea
  2. Enabled SARIF inspection Add a setting to disable built-in SARIF reports visualizer #1167
  3. Use plugin to generate tests for more than one class
  4. See the inspection results

Expected behavior

All paths are correct

Actual behavior

(See the screenshot above)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-bug Issue is a bug
Projects
Archived in project
1 participant