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

Support AssertionError in SARIF report #1031

Closed
mmvpm opened this issue Sep 29, 2022 · 0 comments · Fixed by #1032
Closed

Support AssertionError in SARIF report #1031

mmvpm opened this issue Sep 29, 2022 · 0 comments · Fixed by #1032
Assignees
Labels
ctg-enhancement New feature, improvement or change request

Comments

@mmvpm
Copy link
Collaborator

mmvpm commented Sep 29, 2022

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.
@mmvpm mmvpm added the ctg-enhancement New feature, improvement or change request label Sep 29, 2022
@mmvpm mmvpm self-assigned this Sep 29, 2022
@korifey korifey moved this to Todo in UTBot Java Sep 29, 2022
@mmvpm mmvpm moved this from Todo to In Progress in UTBot Java Sep 29, 2022
Repository owner moved this from In Progress to Done in UTBot Java Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant