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

Display Sandboxed tests on Problems tab #1276

Closed
alisevych opened this issue Nov 1, 2022 Discussed in #1270 · 0 comments · Fixed by #1364
Closed

Display Sandboxed tests on Problems tab #1276

alisevych opened this issue Nov 1, 2022 Discussed in #1270 · 0 comments · Fixed by #1364
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

Discussed in https://github.com/orgs/UnitTestBot/discussions/1270

Originally posted by alisevych October 31, 2022

Description

If an executions performs a restricted operation it is interrupted by Java Security Manager.
Those executions are presented as test methods and disabled due to sandbox.
They contain a stack trace of the restricted method call.
User can add a corresponding Permission or disable useSandbox functionality (by adding useSandbox=false in settings.properties).

Expected behavior

Display disabled tests as on Problems view with stack traces.

It can be displayed like that:

image

User would be able to navigate the code that leads to the restricted operation.

Environment

IntelliJ IDEA 2021.2.4 - 2022.2.3 (all supported)

@alisevych alisevych added the ctg-enhancement New feature, improvement or change request label Nov 1, 2022
@korifey korifey moved this to Todo in UTBot Java Nov 1, 2022
Repository owner moved this from Todo to Done in UTBot Java Nov 16, 2022
@alisevych alisevych added this to the 2022.12 Release milestone Nov 30, 2022
@alisevych alisevych added the comp-ui Improvements of plugin UI appearence and functionality label Nov 30, 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