Skip to content

Testing of Security Manager checklist #790

Closed
@alisevych

Description

@alisevych

Initial set-up

Check that the IntelliJ Idea UTBot plugin can be successfully installed

  • Choose appropriate workflow from the list - with Security Manager included - plugin build used
  • Download plugin
  • Open IntelliJ IDE
  • Remove previously installed UTBot plugin
  • Install the downloaded plugin

Go through manual scenarios

Basic security

Project with JDK 17 - blocked as UTBot is incompatible with JDK 12+

Permissions

  • add PropertyPermission in ~.utbot\sandbox.policy - check test for property is not in sandbox, execute
  • add "permission java.io.FilePermission "<>", "read";" - check test for read not in sandbox, execute
  • add AllPermission in ~.utbot\sandbox.policy - check NO tests are in sandbox, try to execute (carefully!!!)
  • corrupt permission - check how UTBot fails - found Too many permissions file rereads - can slow down much #796
  • empty file
  • remove ~.utbot\sandbox.policy file - check generated tests are in sandbox

Test rendering

Code structures

Metadata

Metadata

Assignees

Labels

ctg-qaIssue is related to QA process

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions