Skip to content

Incorrect test file path in SARIF report #1216

Description

@mmvpm

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)

Activity

  1. self-assigned this
    on Oct 24, 2022
  2. moved this to Todo in UTBot Javaon Oct 24, 2022
  3. moved this from Todo to In Progress in UTBot Javaon Oct 24, 2022
  4. Repository owner moved this from In Progress to Done in UTBot Javaon Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions