Skip to content

Display failing on Timeout tests on the Problems tool window #1391

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

Closed
alisevych opened this issue Nov 17, 2022 · 1 comment · Fixed by #1496
Closed

Display failing on Timeout tests on the Problems tool window #1391

alisevych opened this issue Nov 17, 2022 · 1 comment · Fixed by #1496
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

alisevych commented Nov 17, 2022

Description

Display failing on Timeout tests on the Problems tool window.

Expected behavior

Display tests failing on Timeout on the Problems tool window.
"Test case execution exceeded hanging test timeout."

As they do not have a stack trace - disable/hide button to Analyze stack trace.
And can navigate the user to the test.

Also need to inform the user where to configure this timeout:
"If you want to change the timeout, please go to File -> Settings -> Tools -> UnitTestBot"
Or even better - suggest navigation to this tool window.

Environment

IntelliJ IDEA 2022.1 - 2022.2.3 (up to the latest)

Potential alternatives

Currently these tests are not shown on Problems tool window and in SARIF reports.

Context

Hanging test timeout setting is 1000 ms by default.
You can generate tests for the following code to see it: org.utbot.examples.exceptions.ExceptionClusteringExamples.sleepingMoreThanDefaultTimeout()

@alisevych alisevych added ctg-enhancement New feature, improvement or change request comp-ui Improvements of plugin UI appearence and functionality labels Nov 17, 2022
@korifey korifey moved this to Todo in UTBot Java Nov 17, 2022
@alisevych
Copy link
Member Author

alisevych commented Nov 17, 2022

@korifey Could you please check the expected behavior?

Repository owner moved this from Todo to Done in UTBot Java Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants