Skip to content

Incorrect highlighting of the method call in the SARIF report #536

Closed
@mmvpm

Description

@mmvpm

Description

The first analysis step in the SARIF report should refer to the method call in the generated unit test.

But now we have an incorrect reference.

To Reproduce

Steps to reproduce the behavior:

  1. Run test generation on any class
  2. Open the created SARIF report using VS Code
  3. Check the first analysis step

Expected behavior

The method call is highlighted:

image

Actual behavior

The comment above is highlighted:

image

Metadata

Metadata

Assignees

Labels

ctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions