Skip to content

Display Sandboxed tests on Problems tab #1276

Closed
@alisevych

Description

@alisevych

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)

Metadata

Metadata

Assignees

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions