Skip to content

Support AssertionError in SARIF report #1031

Closed
@mmvpm

Description

@mmvpm

Description

If UTBot generates a test that throws an AssertionError, then for some reason there is no information about the detected error in the SARIF report.

Expected behavior

  1. User generates tests for
public class Example {
    public void check(int number) {
        assert(number > 0);
    }
}
  1. Then the SARIF report contains the result about an AssertionError.

Metadata

Metadata

Assignees

Labels

ctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions