Skip to content

Test Generation Timeout is not saved in project utbot-settings.xml #1935

Closed
@alisevych

Description

@alisevych

Description

Test Generation Timeout is not saved in project utbot-settings.xml

To Reproduce

  1. Run/create a projectin IntelliJ Idea
  2. Install one of the latest IU plugin built from main - take utbot-intellij-IU-2023.3.* artefact
  3. Generate tests with changed Test generation timeout to 20 sec, f.i.
  4. Wait tests are generated
  5. Open UnitTestBot dialog for a class in the same project
  6. Open .idea/utbot-settings.xml in the project

Expected behavior

  1. Test generation timeout should be 20 sec - the same, used in the previous test generation in this project.
  2. There should be an option for utBotGenerationTimeoutInMillis with the value used for this project last time.

Actual behavior

  1. Test generation timeout is 60 sec - default.
  2. There is no option for test generation timeout.

Visual proofs (screenshots, logs, images)

same every time:
image

Environment

IntelliJ IDEA 2022.2.4 Ultimate

Additional context

This is how it works since 2022.07

Metadata

Metadata

Labels

comp-settingsIssue is related to settingsctg-bugIssue is a buglang-javaIssue is related to Java support

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions