Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add sandbox failures to SARIF report (#1276)#1364

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mmvpm merged 3 commits intomainfromideaseeker/sandbox_failure_in_sarif
Nov 16, 2022

Conversation

@mmvpm
Copy link
Collaborator

@mmvpmmmvpm commentedNov 14, 2022
edited
Loading

Description

Added executions withUtSandboxFailure to the SARIF report to display them on the Problems tab.

Fixes#1276,#1168

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Automated Testing

org.utbot.sarif.SarifReportTest

Manual Scenario

  1. Enable the checkbox "Display detected errors..." in the project settings

  2. Run test generation on

    publicclassExample {publicStringproperty(Stringkey) {returnSystem.getProperty(key);     } }
  3. Check the detected error:

    image

    image

Checklist:

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • New tests have been added
  • All tests pass locally with my changes

@mmvpmmmvpm self-assigned thisNov 14, 2022
@mmvpmmmvpm linked an issueNov 14, 2022 that may beclosed by this pull request
@alisevych
Copy link
Member

Please check test generation for InnerCalls.doubleCallFactorial()
There is an error test with StackOverflowError generated for it:

  • there is almost empty stacktrace for it

image

  • the wrong line is addressed in code:

image

@alisevych
Copy link
Member

There are 1024 lines in stack traces for Recursion:

  • for example Recursion.fib(), .factorial(), .sum(), ...
    Is it Ok?

@mmvpmmmvpm merged commit21e502b intomainNov 16, 2022
@mmvpmmmvpm deleted the ideaseeker/sandbox_failure_in_sarif branchNovember 16, 2022 09:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@SBOne-KenobiSBOne-KenobiSBOne-Kenobi approved these changes

Assignees

@mmvpmmmvpm

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Display Sandboxed tests on Problems tab Show risky disabled tests as Problems and in SARIF-report

4 participants

@mmvpm@alisevych@SBOne-Kenobi

[8]ページ先頭

©2009-2025 Movatter.jp